about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-12T13·44+0100
committertazjin <mail@tazj.in>2020-07-12T13·51+0000
commite035c46c6ea0e0f8542fc119dd71ef8bd1887f76 (patch)
treed669b030fc89c406e1dc54489464637e1992a190 /ops
parentec46fdf28cee34c7a1e0ced2402deffc3ae593ec (diff)
chore(whitby): Give the git user a home directory r/1267
Change-Id: I5e6e13fa8a1656434ca897c83fe7ac48eb869369
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1102
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/whitby/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index 0c348e0f1165..4441c7d8dacd 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -257,6 +257,8 @@ in {
     users.git = {
       group = "git";
       isNormalUser = false;
+      createHome = true;
+      home = "/var/lib/git";
     };
   };