project-flake/servers/common/sudo.nix
2025-12-01 13:47:27 +07:00

10 lines
166 B
Nix

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