Convert tz setting to a QS menu

This commit is contained in:
David Heinemeier Hansson
2026-05-20 22:10:46 +02:00
parent f9a2685aab
commit 16193e7c93
6 changed files with 33 additions and 13 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
# Ensure timezone can be updated without needing to sudo
# Ensure timezone can be updated without a password prompt
sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null <<EOF
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl set-timezone *
EOF
sudo chmod 0440 /etc/sudoers.d/omarchy-tzupdate