htgen: use currect group names

This commit is contained in:
tv 2022-01-03 14:56:44 +01:00
parent e8611251e6
commit 853e54ec84

View File

@ -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