summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/htgen.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-01-06 13:18:48 +0100
committermakefu <github@syntax-fehler.de>2022-01-06 13:18:48 +0100
commitfe0e878c1fa9ae749aaf5c3169994118794f152b (patch)
tree6b6e1f22f803830bde9266f6afc96985d5eb12c3 /krebs/3modules/htgen.nix
parentdfe5f39dabb7626804e29797c51ac0df87656129 (diff)
parentdeda4c978956e39c3b6345e5ef5604b2bc020e00 (diff)
Merge remote-tracking branch 'lass/master'
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