diff --git a/hosts/quitte/configuration.nix b/hosts/quitte/configuration.nix index 91f3c3e..382e2c2 100644 --- a/hosts/quitte/configuration.nix +++ b/hosts/quitte/configuration.nix @@ -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 = [ {