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)
|
||||
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