From 53e10a969148f3ee1a1d434b677e370359873365 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 8 Nov 2023 20:27:13 +0100 Subject: Track renaming of restic passwords --- tw/home/files/zshrc | 2 +- tw/home/lap.scm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tw') diff --git a/tw/home/files/zshrc b/tw/home/files/zshrc index ced22a16..ed8575de 100644 --- a/tw/home/files/zshrc +++ b/tw/home/files/zshrc @@ -123,7 +123,7 @@ restic.vin () { esac shift echo "running: restic -r vin.wg/$user/$repo $*" >&2 - RESTIC_PASSWORD_COMMAND="pass computers/vin/restic-repos/$repo" \ + RESTIC_PASSWORD_COMMAND="pass computers/vin/restic-repos/$user-$repo" \ RESTIC_REPOSITORY="rest:http://$user:$(pass "computers/vin/restic-server/$user" | head -1)@vin.wg:8181/$user/$repo" \ command restic "$@" fi diff --git a/tw/home/lap.scm b/tw/home/lap.scm index 6953fe3f..00a59cab 100644 --- a/tw/home/lap.scm +++ b/tw/home/lap.scm @@ -162,7 +162,7 @@ "~/.local/share/ksp-overlay/upper" "~/.pioneer")) (repo (restic-vin.wg-repo "timo/laptop")) - (password (restic-pass-key "computers/vin/restic-repos/laptop"))) + (password (restic-pass-key "computers/vin/restic-repos/timo-laptop"))) (restic-scheduled-backup (schedule #~"10 */2 * * *") @@ -173,7 +173,7 @@ "~/videos/youtube/.yt-dlp" "~/videos/youtube/.config")) (repo (restic-vin.wg-repo "timo/sync")) - (password (restic-pass-key "computers/vin/restic-repos/sync"))))) + (password (restic-pass-key "computers/vin/restic-repos/timo-sync"))))) ;; Redshift: make the screen turn redder at night. (service home-redshift-service-type -- cgit v1.2.3