Prevent polkit error on reboot (fixes #2175)

This commit is contained in:
Ryan Hughes
2025-10-08 20:39:58 -04:00
parent d3f70a0c22
commit 779fd5a9f5
5 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
# Allow passwordless reboot for the installer - removed in first-run
sudo tee /etc/sudoers.d/99-omarchy-installer-reboot >/dev/null <<EOF
$USER ALL=(ALL) NOPASSWD: /usr/bin/reboot
EOF
sudo chmod 440 /etc/sudoers.d/99-omarchy-installer-reboot