Prevent users from being excluded

This commit is contained in:
Manuel Thalmann 2024-08-19 01:10:29 +02:00
parent e50e3ff64e
commit 19e84bd4ab

View file

@ -97,10 +97,7 @@
config = { config = {
valhalla.windows.users = (lib.attrsets.concatMapAttrs ( valhalla.windows.users = (lib.attrsets.concatMapAttrs (
name: options: name: options: {
if builtins.elem name (builtins.attrNames linuxOptions)
then {}
else {
${capitalize name} = (lib.attrsets.concatMapAttrs ( ${capitalize name} = (lib.attrsets.concatMapAttrs (
name: value: name: value:
if builtins.elem name (builtins.attrNames linuxOptions) if builtins.elem name (builtins.attrNames linuxOptions)