core: add sudo rule

This commit is contained in:
Rouven Seifert 2024-10-03 00:17:05 +02:00
parent c25d9d3f9e
commit af3c401cf6
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -27,6 +27,17 @@
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
security.sudo.extraRules = [
{
commands = [
{
command = "ALL";
options = [ "NOPASSWD" ];
}
];
groups = [ "admins" ];
}
];
# prevent fork bombs
security.pam.loginLimits = [
{