fix borg backup

This commit is contained in:
Ingolf Wagner 2023-01-07 21:36:34 +01:00
parent ba1c07d003
commit 53be910f1d
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -52,7 +52,10 @@
mode = "repokey-blake2"; mode = "repokey-blake2";
passCommand = "cat ${config.sops.secrets.backup_repository_passphrase.path}"; passCommand = "cat ${config.sops.secrets.backup_repository_passphrase.path}";
}; };
environment.BORG_RSH = "ssh -i ${toString config.sops.secrets.backup_ssh_rsa_private.path}"; environment = {
BORG_RSH = "ssh -i ${toString config.sops.secrets.backup_ssh_rsa_private.path}";
BORG_RELOCATED_REPO_ACCESS_IS_OK = "yes";
};
compression = "auto,lzma"; compression = "auto,lzma";
startAt = "daily"; startAt = "daily";
prune.keep = { prune.keep = {