12 lines
215 B
Nix
12 lines
215 B
Nix
{ ... }:
|
|
|
|
{
|
|
security.sudo.extraRules= [{
|
|
users = [ "arocanon" ];
|
|
commands = [{
|
|
command = "ALL" ;
|
|
options= [ "NOPASSWD" ]; # "SETENV" # Adding the following could be a good idea
|
|
}];
|
|
}];
|
|
}
|