no wheel for thy

This commit is contained in:
2024-07-31 21:47:36 +02:00
parent aa52db52e3
commit c94f8ff0fa
8 changed files with 32 additions and 10 deletions
+5 -1
View File
@@ -30,6 +30,10 @@
then import ./home/gnome.nix
else import ./home;
nix.settings.allowed-users = [ "pbsds" ];
nix.settings.trusted-users = [ "pbsds" ];
users.groups.pbsds.gid = 1001; # TODO: remove this, add a uid map to NFS instead
users.users.pbsds = {
isNormalUser = true;
@@ -37,6 +41,7 @@
description = "pbsds";
extraGroups = [
"pbsds"
"users" # backward compat
"networkmanager"
"audio"
"sound"
@@ -44,7 +49,6 @@
"input"
"tty"
"wheel"
"nixbld"
# TODO: NAS stuff
] ++ lib.optionals config.virtualisation.docker.enable [
"docker"