Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/gitea: Enable configuring of derivation and a systemd timer for creation of backups #40565

Merged
merged 2 commits into from May 21, 2018

Conversation

etu
Copy link
Contributor

@etu etu commented May 15, 2018

Motivation for this change

Before I moved my gitea to NixOS I had a systemd-timer to do gitea dump ever so often to have dumps of my configuration, repositories and database. I miss this because I find it comforting to have a dump of things every now and then.

I also added the option to be able to configure which derivation of gitea to use 馃槃

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

cc @disassembler

@etu etu changed the title nixos/gitea: Enable configuring of derivation and a systemd timer for dumping of configs nixos/gitea: Enable configuring of derivation and a systemd timer for creation of backups May 16, 2018
etu added 2 commits May 20, 2018 10:49
This will run gitea dump and create a backup file for gitea every so
often as the interval is defined to do.
@disassembler disassembler merged commit 5830b03 into NixOS:master May 21, 2018
@etu etu deleted the gitea-improvements branch May 29, 2018 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants