remove some options from the sudo config
This commit is contained in:
parent
49bef36915
commit
a0a444da66
|
@ -93,14 +93,13 @@ in
|
|||
};
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
users = [ "andreas" ];
|
||||
commands = [
|
||||
{
|
||||
command = "${pkgs.nixos-rebuild} -j auto switch";
|
||||
options = [ "SETENV" "NOPASSWD" ];
|
||||
command = "${pkgs.nixos-rebuild}/bin/nixos-rebuild -j auto switch";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue