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