omarchy/install/config/timezones.sh
David Heinemeier Hansson 925a2906e5 Explain purposes
2025-08-25 07:43:07 +02:00

8 lines
248 B
Bash
Executable File

#!/bin/bash
# Ensure timezone can be updated without needing to sudo
sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null <<EOF
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl
EOF
sudo chmod 0440 /etc/sudoers.d/omarchy-tzupdate