From f795570b7ad116aadec316d485ed9b0d8601346b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 3 Sep 2018 20:15:54 +0200 Subject: ... --- odin.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'odin.nix') diff --git a/odin.nix b/odin.nix index bf0c9959..af6533c5 100644 --- a/odin.nix +++ b/odin.nix @@ -195,11 +195,12 @@ { VG = "raid6"; LV = "home"; } { VG = "raid6"; LV = "media"; } { VG = "raid6"; LV = "root"; } + { VG = "raid6"; LV = "git"; } { VG = "ssd-raid1"; LV = "root"; } ]; prune = lib.genAttrs - ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "ssd-raid1/root"] + ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "raid6/git" "ssd-raid1/root"] (name: [ "--keep-within" "24H" "--keep-daily" "31" @@ -414,7 +415,7 @@ extraGitoliteRc = '' $RC{LOG_DEST} = 'syslog'; $RC{GROUPLIST_PGM} = 'printf "@self-key-managers"'; - $RC{HOSTNAME} = '${networking.hostName}'; + $RC{HOSTNAME} = '${config.networking.hostName}'; $RC{LOCAL_CODE} = "$rc{GL_ADMIN_BASE}/local"; push(@{$RC{ENABLE}}, qw(create fork D repo-specific-hooks macros git-annex-shell ua)); ''; -- cgit v1.2.3