diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-16 13:49:24 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-10-16 13:49:24 +0200 |
commit | 6a8252b11bb02f3e67857d5a9d733b1affa6a625 (patch) | |
tree | 175cb91c386b444ce951361baaa4875136d5c9e4 /modules/private/gitolite/default.nix | |
parent | 5304a64b84c5a84525c96419cc6126775af306e0 (diff) | |
download | Nix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.tar.gz Nix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.tar.zst Nix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.zip |
Add backup module
Diffstat (limited to 'modules/private/gitolite/default.nix')
-rw-r--r-- | modules/private/gitolite/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/private/gitolite/default.nix b/modules/private/gitolite/default.nix index b9914a1..dc068b7 100644 --- a/modules/private/gitolite/default.nix +++ b/modules/private/gitolite/default.nix | |||
@@ -11,6 +11,9 @@ in { | |||
11 | }; | 11 | }; |
12 | 12 | ||
13 | config = lib.mkIf cfg.enable { | 13 | config = lib.mkIf cfg.enable { |
14 | services.backup.profiles.gitolite = { | ||
15 | rootDir = cfg.gitoliteDir; | ||
16 | }; | ||
14 | networking.firewall.allowedTCPPorts = [ 9418 ]; | 17 | networking.firewall.allowedTCPPorts = [ 9418 ]; |
15 | 18 | ||
16 | services.gitDaemon = { | 19 | services.gitDaemon = { |