diff --git a/lib/modules/users.nix b/lib/modules/users.nix index b3f9f2f2..ec506781 100644 --- a/lib/modules/users.nix +++ b/lib/modules/users.nix @@ -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 = []; + }; }; }; };