diff --git a/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix b/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix index aaba87c..d3bd664 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix +++ b/hosts/hetzner-vm/containers/storage/profiles/rclone-sync.nix @@ -30,6 +30,11 @@ dest = "B2-Chaos-Music:"; id = "chaos_b2_music"; } + { + source = "StorageBox:Personal"; + dest = "B2-Chaos-Personal:"; + id = "chaos_b2_personal"; + } # Pheonix System's B2 { source = "StorageBox:Backups"; @@ -46,6 +51,11 @@ dest = "B2-Phoenix-Cryptidz-Storage:Music"; id = "phoenix_b2_music"; } + { + source = "StorageBox:Personal"; + dest = "B2-Phoenix-Cryptidz-Storage:Personal"; + id = "phoenix_b2_personal"; + } ]; }; } diff --git a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template index 3553be3..d3a54f3 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template +++ b/hosts/hetzner-vm/containers/storage/profiles/rclone_config.template @@ -46,6 +46,16 @@ hard_delete = true type = alias remote = B2-Chaos-Music-Source:Chaos-Music +[B2-Chaos-Personal-Source] +type = b2 +account = B2_CHAOS_PERSONAL_ACCOUNT +key = B2_CHAOS_PERSONAL_KEY +hard_delete = true + +[B2-Chaos-Personal] +type = alias +remote = B2-Chaos-Personal-Source:Chaos-Personal + [B2-Phoenix-Cryptidz-Storage-Source] type = b2 account = B2_PHOENIX_CRYPTIDZ_STORAGE_ACCOUNT diff --git a/hosts/hetzner-vm/containers/storage/profiles/secrets.nix b/hosts/hetzner-vm/containers/storage/profiles/secrets.nix index 9e783d1..5ad35d8 100644 --- a/hosts/hetzner-vm/containers/storage/profiles/secrets.nix +++ b/hosts/hetzner-vm/containers/storage/profiles/secrets.nix @@ -125,6 +125,7 @@ simple_get_replace_b2 "/api-keys/backblaze/Chaos-Backups" "B2_CHAOS_BACKUPS" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Photos" "B2_CHAOS_PHOTOS" ./template simple_get_replace_b2 "/api-keys/backblaze/Chaos-Music" "B2_CHAOS_MUSIC" ./template + simple_get_replace_b2 "/api-keys/backblaze/Chaos-Personal" "B2_CHAOS_PERSONAL" ./template simple_get_replace_b2 "/api-keys/backblaze/Phoenix-Cryptidz-Storage" "B2_PHOENIX_CRYPTIDZ_STORAGE" ./template PUTIO_PASSWORD="token/$(simple_get /api-keys/putio .oauth_token)"