Improve assignments of groups

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

View file

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