diff options
author | Timo Wilken | 2023-11-08 20:27:13 +0100 |
---|---|---|
committer | Timo Wilken | 2023-11-08 20:27:13 +0100 |
commit | 53e10a969148f3ee1a1d434b677e370359873365 (patch) | |
tree | ac93891f2cfcdb27168e7036f2d3cbb283d29a8e | |
parent | 9790519c3faf4a368ce7f43953a4ab9479960cf9 (diff) |
Track renaming of restic passwords
-rw-r--r-- | tw/home/files/zshrc | 2 | ||||
-rw-r--r-- | tw/home/lap.scm | 4 |
2 files changed, 3 insertions, 3 deletions
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 |