diff options
Diffstat (limited to '')
-rw-r--r-- | modules/services/gerrit/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/services/gerrit/default.nix b/modules/services/gerrit/default.nix index ab35533..a113894 100644 --- a/modules/services/gerrit/default.nix +++ b/modules/services/gerrit/default.nix @@ -17,6 +17,15 @@ in { }; config = lib.mkIf cfg.enable { + users.users.git = { + description = "git"; + home = cfg.stateDir; + useDefaultShell = true; + group = "git"; + isSystemUser = true; + }; + users.groups.git = { }; + services.gerrit = { enable = true; listenAddress = "[::]:4778"; |