8 lines
248 B
Bash
Executable File
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
|