Fix incorrect user conversion
This commit is contained in:
parent
5beba97c6a
commit
3b45035e57
1 changed files with 11 additions and 4 deletions
|
@ -96,10 +96,17 @@
|
||||||
if builtins.elem name (builtins.attrNames linuxOptions)
|
if builtins.elem name (builtins.attrNames linuxOptions)
|
||||||
then {}
|
then {}
|
||||||
else {
|
else {
|
||||||
${capitalize name} = options;
|
${capitalize name} = (lib.attrsets.concatMapAttrs (
|
||||||
}) cfg.users) // {
|
name: value:
|
||||||
|
if builtins.elem name (builtins.attrNames linuxOptions)
|
||||||
|
then {}
|
||||||
|
else {
|
||||||
|
${name} = value;
|
||||||
|
}
|
||||||
|
) options) // {
|
||||||
groups = [];
|
groups = [];
|
||||||
};
|
};
|
||||||
|
}) cfg.users);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue