Allow reboots without sudo

This commit is contained in:
Andreas Zweili 2023-06-26 14:51:48 +02:00
parent 6a6d6746d1
commit 1bf42f2327
1 changed files with 9 additions and 0 deletions

View File

@ -137,6 +137,15 @@
];
groups = [ "wheel" ];
}
{
commands = [
{
command = "/run/current-system/sw/bin/reboot";
options = [ "NOPASSWD" ];
}
];
groups = [ "wheel" ];
}
];
};