Keep Windows groups separate

This commit is contained in:
Manuel Thalmann 2024-08-08 15:33:55 +02:00
parent db38cf2207
commit 5beba97c6a

View file

@ -91,13 +91,15 @@
windows.users = mkOption {
type = types.attrsOf winUserType;
description = "The users to create on the Windows machine.";
default = lib.attrsets.concatMapAttrs (
default = (lib.attrsets.concatMapAttrs (
name: options:
if builtins.elem name (builtins.attrNames linuxOptions)
then {}
else {
${capitalize name} = options;
}) cfg.users;
}) cfg.users) // {
groups = [];
};
};
};
};