Set sudo to wheel only
This commit is contained in:
parent
9cf73786b2
commit
991ecf1360
|
@ -44,6 +44,9 @@
|
|||
groups.artemis.gid = config.users.users.artemis.uid;
|
||||
mutableUsers = false;
|
||||
};
|
||||
|
||||
security.sudo.execWheelOnly = true;
|
||||
|
||||
systemd.extraConfig = "DefaultLimitCORE=infinity";
|
||||
security.pam.loginLimits = [{ domain = "*"; item = "core"; type = "hard"; value = "infinity"; }];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue