Force copying of Linux users to Windows
This commit is contained in:
parent
61af290724
commit
e50e3ff64e
|
@ -91,7 +91,12 @@
|
|||
windows.users = mkOption {
|
||||
type = types.attrsOf winUserType;
|
||||
description = "The users to create on the Windows machine.";
|
||||
default = (lib.attrsets.concatMapAttrs (
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
valhalla.windows.users = (lib.attrsets.concatMapAttrs (
|
||||
name: options:
|
||||
if builtins.elem name (builtins.attrNames linuxOptions)
|
||||
then {}
|
||||
|
@ -108,6 +113,4 @@
|
|||
};
|
||||
}) cfg.users);
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue