Improve assignments of groups
This commit is contained in:
parent
71e46db226
commit
4292a3e847
2 changed files with 6 additions and 8 deletions
|
@ -77,9 +77,7 @@
|
|||
type = options.users.type;
|
||||
default = (lib.attrsets.concatMapAttrs (
|
||||
name: options: {
|
||||
${capitalize name} = options // {
|
||||
groups = [];
|
||||
};
|
||||
${capitalize name} = options;
|
||||
}) config.users);
|
||||
};
|
||||
};
|
||||
|
|
|
@ -40,17 +40,17 @@
|
|||
manuel = {
|
||||
displayName = "Manuel Thalmann";
|
||||
mailAddress = "m@nuth.ch";
|
||||
|
||||
groups = [
|
||||
"wheel"
|
||||
"nix-users"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
linux.users.manuel = {
|
||||
defaultShell = "fish";
|
||||
|
||||
groups = [
|
||||
"wheel"
|
||||
"nix-users"
|
||||
];
|
||||
|
||||
rclone = {
|
||||
configurations = {
|
||||
nextcloud = {
|
||||
|
|
Loading…
Reference in a new issue