Files
omarchy/install/post-install/allow-reboot.sh
2025-10-08 20:40:53 -04:00

6 lines
242 B
Bash

# 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