Improve assignments of groups

This commit is contained in:
Manuel Thalmann 2024-09-03 20:32:01 +02:00
parent 71e46db226
commit 4292a3e847
2 changed files with 6 additions and 8 deletions

View file

@ -77,9 +77,7 @@
type = options.users.type;
default = (lib.attrsets.concatMapAttrs (
name: options: {
${capitalize name} = options // {
groups = [];
};
${capitalize name} = options;
}) config.users);
};
};

View file

@ -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 = {