summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/htgen.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/3modules/htgen.nix')
-rw-r--r--krebs/3modules/htgen.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/krebs/3modules/htgen.nix b/krebs/3modules/htgen.nix
index 4221703ec..375e26974 100644
--- a/krebs/3modules/htgen.nix
+++ b/krebs/3modules/htgen.nix
@@ -75,7 +75,12 @@ let
}
) cfg;
- users.groups = mapAttrs (_: _: {}) cfg;
+ users.groups = mapAttrs' (name: htgen:
+ nameValuePair htgen.user.name {
+ name = htgen.user.name;
+ gid = htgen.user.uid;
+ }
+ ) cfg;
};
in out