users/admin: fix the sudo config

I really should get used running checks before pushing.
This commit is contained in:
Gabriel Arazas 2022-12-14 17:33:05 +08:00
parent 57078178f3
commit 300d0a8d3e

View File

@ -19,7 +19,10 @@ in
# We're going passwordless, baybee!
security.sudo.extraRules = [{
users = [ name ];
options = [ "NOPASSWD" ];
commands = [{
command = "ALL";
options = [ "NOPASSWD" ];
}];
}];
security.doas.extraRules = [{