mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Refactor timezones
This commit is contained in:
1
etc/sudoers.d/omarchy-tzupdate
Normal file
1
etc/sudoers.d/omarchy-tzupdate
Normal file
@@ -0,0 +1 @@
|
|||||||
|
%wheel ALL=(root) NOPASSWD: /usr/bin/tzupdate, /usr/bin/timedatectl
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
run_logged $OMARCHY_INSTALL/config/theme.sh
|
run_logged $OMARCHY_INSTALL/config/theme.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/git.sh
|
run_logged $OMARCHY_INSTALL/config/git.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/timezones.sh
|
|
||||||
run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh
|
run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh
|
run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/xcompose.sh
|
run_logged $OMARCHY_INSTALL/config/xcompose.sh
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
# 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
|
|
||||||
Reference in New Issue
Block a user