Fix backup-home
Some checks failed
pre-commit / pre-commit (push) Failing after 20s

This commit is contained in:
Torjus Håkestad 2024-05-02 12:35:32 +02:00
parent a53925d99b
commit 7281644439

View File

@ -14,7 +14,7 @@ let
echo "========== BACKUP HOME STARTING =========="
export RESTIC_PASSWORD="gunter.home.2rjus.net"
export RESTIC_REPOSITORY="rest:http://10.69.12.52:8000/gunter.home.2rjus.net"
GOTIFY_TOKEN=$(<"$XDG_RUNTIME_DIR/secrets/gotify_backup_home")
GOTIFY_TOKEN=$(<"$XDG_CONFIG_HOME/sops-nix/secrets/gotify_backup_home")
if [ -z "$GOTIFY_TOKEN" ]; then
notify-send -u critical "Backup issue" "No Gotify token found"