From c483d13e73c79eb9bf96ed7a3c0e59635ac02780 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 3 Sep 2024 20:32:01 +0200 Subject: [PATCH] Improve assignments of groups --- lib/modules/users.nix | 4 +--- profiles/Generic/config.nix | 10 +++++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/modules/users.nix b/lib/modules/users.nix index b730964f..510b8e92 100644 --- a/lib/modules/users.nix +++ b/lib/modules/users.nix @@ -78,9 +78,7 @@ description = "Blablabla"; default = (lib.attrsets.concatMapAttrs ( name: options: { - ${capitalize name} = options // { - groups = []; - }; + ${capitalize name} = options; }) config.users); }; }; diff --git a/profiles/Generic/config.nix b/profiles/Generic/config.nix index c7422ad3..dbe8555c 100644 --- a/profiles/Generic/config.nix +++ b/profiles/Generic/config.nix @@ -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 = {