From bf94a6237aabc13aa8761a8637d946a694a61bb1 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Tue, 18 Feb 2025 16:40:30 -0800 Subject: [PATCH] fix(nixos): Fucking permissions --- modules/nixos/base/users/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/nixos/base/users/default.nix b/modules/nixos/base/users/default.nix index b4598a5..40d6a33 100644 --- a/modules/nixos/base/users/default.nix +++ b/modules/nixos/base/users/default.nix @@ -20,11 +20,17 @@ in { users = { mutableUsers = false; + groups = { + "compat" = { + gid = 1000; + }; + }; + users."${my.name}" = { isNormalUser = true; description = my.fullName; extraGroups = - ["wheel"] + ["wheel" "compat"] ++ (lib.optional config.networking.networkmanager.enable "networkmanager") ++ (lib.optional config.virtualisation.docker.enable "docker"); hashedPassword =