Compare commits

...

2 Commits

Author SHA1 Message Date
7281644439 Fix backup-home
Some checks failed
pre-commit / pre-commit (push) Failing after 20s
2024-05-02 12:35:32 +02:00
a53925d99b Flake update 2024-05-02 12:31:48 +02:00
2 changed files with 4 additions and 4 deletions

6
flake.lock generated
View File

@ -90,11 +90,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1714272655,
"narHash": "sha256-3/ghIWCve93ngkx5eNPdHIKJP/pMzSr5Wc4rNKE1wOc=",
"lastModified": 1714531828,
"narHash": "sha256-ILsf3bdY/hNNI/Hu5bSt2/KbmHaAVhBbNUOdGztTHEg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "12430e43bd9b81a6b4e79e64f87c624ade701eaf",
"rev": "0638fe2715d998fa81d173aad264eb671ce2ebc1",
"type": "github"
},
"original": {

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"