security: Allow alex to run nixos-rebuild as root
This commit is contained in:
parent
19d681a18c
commit
3bc556ffba
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@
|
||||||
extraRules = [
|
extraRules = [
|
||||||
{ groups = [ "wheel" ];
|
{ groups = [ "wheel" ];
|
||||||
commands = [
|
commands = [
|
||||||
{ command = "/run/current-system/sw/bin/nixos-rebuild switch";
|
{ command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||||
options = [ "NOPASSWD" ];
|
options = [ "NOPASSWD" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue