backblaze bucket target better spec

This commit is contained in:
Cyryl Płotnicki 2021-06-26 23:18:45 +01:00
parent 4a133e964e
commit 4693e814c9

View file

@ -16,10 +16,10 @@ in
restic.backups.home-to-b2 = { restic.backups.home-to-b2 = {
passwordFile = "/etc/nixos/secrets/restic-password-b2"; passwordFile = "/etc/nixos/secrets/restic-password-b2";
paths = [ "/home" ]; paths = [ "/home" ];
repository = "b2:cyplo-restic-foureighty:/"; repository = "b2:cyplo-restic-${config.networking.hostName}:/";
timerConfig = { OnCalendar = "hourly"; }; timerConfig = { OnCalendar = "hourly"; };
extraBackupArgs = extraArgs; extraBackupArgs = extraArgs;
s3CredentialsFile = "/etc/nixos/secrets/b2"; s3CredentialsFile = "/etc/nixos/secrets/b2-env";
}; };
}; };
} }