From 4693e814c9eca37c5674485577756724a054f804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 26 Jun 2021 23:18:45 +0100 Subject: [PATCH] backblaze bucket target better spec --- nixos/backups.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/backups.nix b/nixos/backups.nix index c397e194..0992f8fb 100644 --- a/nixos/backups.nix +++ b/nixos/backups.nix @@ -16,10 +16,10 @@ in restic.backups.home-to-b2 = { passwordFile = "/etc/nixos/secrets/restic-password-b2"; paths = [ "/home" ]; - repository = "b2:cyplo-restic-foureighty:/"; + repository = "b2:cyplo-restic-${config.networking.hostName}:/"; timerConfig = { OnCalendar = "hourly"; }; extraBackupArgs = extraArgs; - s3CredentialsFile = "/etc/nixos/secrets/b2"; + s3CredentialsFile = "/etc/nixos/secrets/b2-env"; }; }; }