project-flake/servers/common/sudo.nix
2025-09-17 16:39:03 +07:00

10 lines
No EOL
165 B
Nix

{ config, pkgs, ... }:
{
security.sudo.extraRules = [
{
groups = [ "wheel" ];
commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ];
}
];
}