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; type = options.users.type;
default = (lib.attrsets.concatMapAttrs ( default = (lib.attrsets.concatMapAttrs (
name: options: { name: options: {
${capitalize name} = options // { ${capitalize name} = options;
groups = [];
};
}) config.users); }) config.users);
}; };
}; };

View file

@ -40,17 +40,17 @@
manuel = { manuel = {
displayName = "Manuel Thalmann"; displayName = "Manuel Thalmann";
mailAddress = "m@nuth.ch"; mailAddress = "m@nuth.ch";
groups = [
"wheel"
"nix-users"
];
}; };
}; };
linux.users.manuel = { linux.users.manuel = {
defaultShell = "fish"; defaultShell = "fish";
groups = [
"wheel"
"nix-users"
];
rclone = { rclone = {
configurations = { configurations = {
nextcloud = { nextcloud = {