Fix incorrect user conversion
This commit is contained in:
parent
5beba97c6a
commit
3b45035e57
|
@ -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:
|
||||||
groups = [];
|
if builtins.elem name (builtins.attrNames linuxOptions)
|
||||||
};
|
then {}
|
||||||
|
else {
|
||||||
|
${name} = value;
|
||||||
|
}
|
||||||
|
) options) // {
|
||||||
|
groups = [];
|
||||||
|
};
|
||||||
|
}) cfg.users);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue