make passworldless sudo rebuild work
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
users = [ "blake" ];
|
||||
commands = [
|
||||
{
|
||||
command = "${config.system.build.nixos-rebuild}";
|
||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user