Improve assignments of groups

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

View file

@ -78,9 +78,7 @@
description = "Blablabla"; description = "Blablabla";
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 = {