about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-27 11:30:13 -0700
committerFranck Cuny <franck.cuny@gmail.com>2022-05-27 11:34:21 -0700
commit76c7ba73eec0506d5c779b6c01a61aab62b9c351 (patch)
tree7a2b799ef583f45e5fe6456274b6769969903339 /modules/services
parentfeat(cgit): add a module for cgit (diff)
downloadworld-76c7ba73eec0506d5c779b6c01a61aab62b9c351.tar.gz
fix(gerrit): set the home directory for git
Change-Id: Idba41215b58e8cd77d8d4efa354a3acf52c6bc6d
Reviewed-on: https://cl.fcuny.net/c/world/+/61
Reviewed-by: Franck Cuny <franck.cuny@gmail.com>
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/gerrit/default.nix2
1 files changed, 1 insertions, 1 deletions
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;