updated light updater

This commit is contained in:
naturallaw77 2023-12-12 14:33:40 -08:00
parent 683f5e9201
commit 59e28ecd1b

View File

@ -16,7 +16,7 @@ fi
}
HOME () {
if ! echo $PASSWORD | sudo -S nixos-rebuild switch --impure ; then
if ! echo $PASSWORD | sudo -S timeout 1 -k nixos-rebuild switch --impure ; then
zenity --error \
--width=400 \