security: Allow alex to run nixos-rebuild as root

This commit is contained in:
Alexander Kobjolke 2021-07-16 18:04:56 +02:00
parent 19d681a18c
commit 3bc556ffba

View file

@ -67,7 +67,7 @@
extraRules = [
{ groups = [ "wheel" ];
commands = [
{ command = "/run/current-system/sw/bin/nixos-rebuild switch";
{ command = "/run/current-system/sw/bin/nixos-rebuild";
options = [ "NOPASSWD" ];
}
];