about summary refs log tree commit diff
path: root/nixos/modules/services/networking/git-daemon.nix
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-08 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-12 14:59:30 +0200
commitbc3bca822a32fbbc73a9d55394991cef92dba3b9 (patch)
tree04d54d294f1869dd6f874e92eb5f2c094eef3b7f /nixos/modules/services/networking/git-daemon.nix
parent0f15a8f489b04a7d0086edf27920ba15fa1de0d3 (diff)
nixos: define the primary group of users where needed
Diffstat (limited to 'nixos/modules/services/networking/git-daemon.nix')
-rw-r--r--nixos/modules/services/networking/git-daemon.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/git-daemon.nix b/nixos/modules/services/networking/git-daemon.nix
index 98f80dd4bc404..6be72505c216e 100644
--- a/nixos/modules/services/networking/git-daemon.nix
+++ b/nixos/modules/services/networking/git-daemon.nix
@@ -107,6 +107,7 @@ in
     users.users = optionalAttrs (cfg.user == "git") {
       git = {
         uid = config.ids.uids.git;
+        group = "git";
         description = "Git daemon user";
       };
     };