Set sudo to wheel only

This commit is contained in:
Artemis Tosini 2022-01-27 16:19:56 +00:00
parent 9cf73786b2
commit 991ecf1360
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -44,6 +44,9 @@
groups.artemis.gid = config.users.users.artemis.uid; groups.artemis.gid = config.users.users.artemis.uid;
mutableUsers = false; mutableUsers = false;
}; };
security.sudo.execWheelOnly = true;
systemd.extraConfig = "DefaultLimitCORE=infinity"; systemd.extraConfig = "DefaultLimitCORE=infinity";
security.pam.loginLimits = [{ domain = "*"; item = "core"; type = "hard"; value = "infinity"; }]; security.pam.loginLimits = [{ domain = "*"; item = "core"; type = "hard"; value = "infinity"; }];
} }