Keep Windows groups separate
This commit is contained in:
parent
db38cf2207
commit
5beba97c6a
1 changed files with 4 additions and 2 deletions
|
@ -91,13 +91,15 @@
|
||||||
windows.users = mkOption {
|
windows.users = mkOption {
|
||||||
type = types.attrsOf winUserType;
|
type = types.attrsOf winUserType;
|
||||||
description = "The users to create on the Windows machine.";
|
description = "The users to create on the Windows machine.";
|
||||||
default = lib.attrsets.concatMapAttrs (
|
default = (lib.attrsets.concatMapAttrs (
|
||||||
name: options:
|
name: options:
|
||||||
if builtins.elem name (builtins.attrNames linuxOptions)
|
if builtins.elem name (builtins.attrNames linuxOptions)
|
||||||
then {}
|
then {}
|
||||||
else {
|
else {
|
||||||
${capitalize name} = options;
|
${capitalize name} = options;
|
||||||
}) cfg.users;
|
}) cfg.users) // {
|
||||||
|
groups = [];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue