fix(nixos): Fucking permissions

This commit is contained in:
punkfairie 2025-02-18 16:40:30 -08:00
parent 9f4e8fff21
commit bf94a6237a
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -20,11 +20,17 @@ in {
users = { users = {
mutableUsers = false; mutableUsers = false;
groups = {
"compat" = {
gid = 1000;
};
};
users."${my.name}" = { users."${my.name}" = {
isNormalUser = true; isNormalUser = true;
description = my.fullName; description = my.fullName;
extraGroups = extraGroups =
["wheel"] ["wheel" "compat"]
++ (lib.optional config.networking.networkmanager.enable "networkmanager") ++ (lib.optional config.networking.networkmanager.enable "networkmanager")
++ (lib.optional config.virtualisation.docker.enable "docker"); ++ (lib.optional config.virtualisation.docker.enable "docker");
hashedPassword = hashedPassword =