summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-03 20:15:54 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-03 20:15:54 +0200
commitf795570b7ad116aadec316d485ed9b0d8601346b (patch)
tree3292d33a847a602b5dbe03fcfd7a4ca65e785141
parent05b8ec69ace23ca0af00b1ae604463f26635d883 (diff)
downloadnixos-f795570b7ad116aadec316d485ed9b0d8601346b.tar
nixos-f795570b7ad116aadec316d485ed9b0d8601346b.tar.gz
nixos-f795570b7ad116aadec316d485ed9b0d8601346b.tar.bz2
nixos-f795570b7ad116aadec316d485ed9b0d8601346b.tar.xz
nixos-f795570b7ad116aadec316d485ed9b0d8601346b.zip
...
-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 '';