From 26ddadd80bfa717af9b41a0d05e3a55c9257574f Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Mon, 18 Dec 2023 11:05:30 -0500 Subject: [PATCH] Switch to making backups through backblaze --- configs/programs/fish.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/programs/fish.nix b/configs/programs/fish.nix index f1ddc37..f425464 100644 --- a/configs/programs/fish.nix +++ b/configs/programs/fish.nix @@ -27,7 +27,7 @@ pkgs: { ":qa" = "exit"; ":q" = "exit"; "rmount" = "rclone --rc --rc-web-gui --rc-no-auth --cache-dir /tmp/rclone-cache mount --vfs-cache-mode full --vfs-cache-max-size 8Gi"; - "backup" = "${unlock-rclone} && restic -r rclone:rit:'Restic Backups/'(hostname | sed \"s/\\(.\\)/\\u\\1/\") -p (pass backups | psub) backup ~/ --exclude-caches --exclude-file=${import ./restic.nix}"; + "backup" = "eval (pass backblaze/backup-bucket) && restic -r s3:s3.us-west-000.backblazeb2.com/ember-restic-backups/(hostname | sed \"s/\\(.\\)/\\u\\1/\") -p (pass backups | psub) backup ~/ --exclude-caches --exclude-file=${import ./restic.nix}"; "diary" = "bwrap --bind ~/Diary/gate/ / --bind ~/Diary/store /store --ro-bind /nix /nix --bind /run /run -- (whereis -b restic | cut -c 9-) -r /store -p (pass diary | psub) backup -H 'diary' -e /nix -e /run -e /store -e /home /"; "dl" = "wget (kitty +kitten clipboard --get-clipboard)"; bottom = "termdown 2023-06-13T7:30:00";