feat: sudo poweroff
This commit is contained in:
parent
5f1ee44e9b
commit
290e9d83d2
|
@ -243,10 +243,11 @@ in
|
|||
};
|
||||
security.sudo.extraConfig = ''
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/docker
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/reboot
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/whoami
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/nvidia-smi
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/shutdown
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/poweroff
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/reboot
|
||||
%nasp ALL = (root) NOPASSWD: /run/current-system/sw/bin/ip
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user