diff --git a/hosts/hetzner-arm/containers/storage/data/rclone_config.template b/hosts/hetzner-arm/containers/storage/data/rclone_config.template index 5162d8b..2211c70 100644 --- a/hosts/hetzner-arm/containers/storage/data/rclone_config.template +++ b/hosts/hetzner-arm/containers/storage/data/rclone_config.template @@ -82,6 +82,16 @@ hard_delete = true type = alias remote = B2-Chaos-Public-Source:Chaos-Public +[B2-Chaos-Notes-Source] +type = b2 +account = B2_CHAOS_NOTES_ACCOUNT +key = B2_CHAOS_NOTES_KEY +hard_delete = true + +[B2-Chaos-Notes] +type = alias +remote = B2-Chaos-Notes-Source:Chaos-Notes + [B2-Phoenix-Cryptidz-Storage-Source] type = b2 account = B2_PHOENIX_CRYPTIDZ_STORAGE_ACCOUNT diff --git a/hosts/hetzner-arm/containers/storage/profiles/rcloneSync.nix b/hosts/hetzner-arm/containers/storage/profiles/rcloneSync.nix index 14167db..24e26d2 100644 --- a/hosts/hetzner-arm/containers/storage/profiles/rcloneSync.nix +++ b/hosts/hetzner-arm/containers/storage/profiles/rcloneSync.nix @@ -47,6 +47,11 @@ in { dest = "B2-Chaos-Public:"; id = "chaos_b2_public"; } + { + source = "StorageBox:Notes"; + dest = "B2-Chaos-Notes:"; + id = "chaos_notes_public"; + } # Pheonix System's B2 { source = "StorageBox:Backups"; @@ -73,6 +78,11 @@ in { dest = "B2-Phoenix-Cryptidz-Storage:Public"; id = "phoenix_b2_public"; } + { + source = "StorageBox:Notes"; + dest = "B2-Phoenix-Cryptidz-Storage:Notes"; + id = "phoenix_b2_notes"; + } ]; }; } diff --git a/hosts/hetzner-arm/containers/storage/secrets.nix b/hosts/hetzner-arm/containers/storage/secrets.nix index a3c8679..b89b8ed 100644 --- a/hosts/hetzner-arm/containers/storage/secrets.nix +++ b/hosts/hetzner-arm/containers/storage/secrets.nix @@ -23,6 +23,7 @@ "api-keys/data/backblaze/Chaos-Public" "api-keys/data/backblaze/Chaos-Media" "api-keys/data/backblaze/Chaos-Gaming" + "api-keys/data/backblaze/Chaos-Notes" "api-keys/data/backblaze/Phoenix-Cryptidz-Storage" "api-keys/data/storage/restic/Music" @@ -261,6 +262,7 @@ simple_get_replace_b2 "/api-keys/backblaze/Chaos-Music" "B2_CHAOS_MUSIC" "$secretFile" simple_get_replace_b2 "/api-keys/backblaze/Chaos-Personal" "B2_CHAOS_PERSONAL" "$secretFile" simple_get_replace_b2 "/api-keys/backblaze/Chaos-Public" "B2_CHAOS_PUBLIC" "$secretFile" + simple_get_replace_b2 "/api-keys/backblaze/Chaos-Notes" "B2_CHAOS_NOTES" "$secretFile" simple_get_replace_b2 "/api-keys/backblaze/Phoenix-Cryptidz-Storage" "B2_PHOENIX_CRYPTIDZ_STORAGE" "$secretFile" PUTIO_PASSWORD="token/$(simple_get /api-keys/putio .oauth_token)"