summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/odin.nix b/odin.nix
index bf0c9959..af6533c5 100644
--- a/odin.nix
+++ b/odin.nix
@@ -195,11 +195,12 @@
195 { VG = "raid6"; LV = "home"; } 195 { VG = "raid6"; LV = "home"; }
196 { VG = "raid6"; LV = "media"; } 196 { VG = "raid6"; LV = "media"; }
197 { VG = "raid6"; LV = "root"; } 197 { VG = "raid6"; LV = "root"; }
198 { VG = "raid6"; LV = "git"; }
198 { VG = "ssd-raid1"; LV = "root"; } 199 { VG = "ssd-raid1"; LV = "root"; }
199 ]; 200 ];
200 201
201 prune = lib.genAttrs 202 prune = lib.genAttrs
202 ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "ssd-raid1/root"] 203 ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "raid6/git" "ssd-raid1/root"]
203 (name: [ 204 (name: [
204 "--keep-within" "24H" 205 "--keep-within" "24H"
205 "--keep-daily" "31" 206 "--keep-daily" "31"
@@ -414,7 +415,7 @@
414 extraGitoliteRc = '' 415 extraGitoliteRc = ''
415 $RC{LOG_DEST} = 'syslog'; 416 $RC{LOG_DEST} = 'syslog';
416 $RC{GROUPLIST_PGM} = 'printf "@self-key-managers"'; 417 $RC{GROUPLIST_PGM} = 'printf "@self-key-managers"';
417 $RC{HOSTNAME} = '${networking.hostName}'; 418 $RC{HOSTNAME} = '${config.networking.hostName}';
418 $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local"; 419 $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local";
419 push(@{$RC{ENABLE}}, qw(create fork D repo-specific-hooks macros git-annex-shell ua)); 420 push(@{$RC{ENABLE}}, qw(create fork D repo-specific-hooks macros git-annex-shell ua));
420 ''; 421 '';