From 76c7ba73eec0506d5c779b6c01a61aab62b9c351 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 27 May 2022 11:30:13 -0700 Subject: fix(gerrit): set the home directory for git Change-Id: Idba41215b58e8cd77d8d4efa354a3acf52c6bc6d Reviewed-on: https://cl.fcuny.net/c/world/+/61 Reviewed-by: Franck Cuny --- modules/services/gerrit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix index a113894..154dca4 100644 --- a/modules/services/gerrit/default.nix +++ b/modules/services/gerrit/default.nix @@ -19,7 +19,7 @@ in { config = lib.mkIf cfg.enable { users.users.git = { description = "git"; - home = cfg.stateDir; + home = "/var/lib/gerrit"; useDefaultShell = true; group = "git"; isSystemUser = true; -- cgit 1.4.1