nixfiles/nixos/common/sudo-nopasswd.nix

16 lines
235 B
Nix

_: {
security.sudo.extraRules = [
{
users = ["deploy"];
commands = [
{
command = "ALL";
options = [
"NOPASSWD"
"SETENV"
];
}
];
}
];
}