summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-01-03 14:56:44 +0100
committertv <tv@krebsco.de>2022-01-03 14:56:44 +0100
commit853e54ec8458d9fa1222fb72f9871427d45fd8eb (patch)
treeaa992be74a0a7f36aa20b18ffb375c58f03456ac /krebs/3modules
parente8611251e6e40a50dedfe8efaa8ea555a96e1a9d (diff)
htgen: use currect group names
Diffstat (limited to 'krebs/3modules')
-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