Move borgmatic config to global scope

This commit is contained in:
Jordan Holt 2024-01-28 19:00:51 +00:00
parent ecf68a816b
commit d08d53398e
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -39,15 +39,11 @@ in {
repositories = [
{ label = "borgbase"; path = cfg.repoPath; }
];
storage = {
encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}";
ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key";
};
retention = {
keep_daily = 7;
keep_weekly = 4;
keep_monthly = 6;
};
encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}";
ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key";
keep_daily = 7;
keep_weekly = 4;
keep_monthly = 6;
};
};