Move borgmatic config to global scope
This commit is contained in:
parent
ecf68a816b
commit
d08d53398e
@ -39,15 +39,11 @@ in {
|
|||||||
repositories = [
|
repositories = [
|
||||||
{ label = "borgbase"; path = cfg.repoPath; }
|
{ label = "borgbase"; path = cfg.repoPath; }
|
||||||
];
|
];
|
||||||
storage = {
|
encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}";
|
||||||
encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/${hostname}-passphrase".path}";
|
ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key";
|
||||||
ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key";
|
keep_daily = 7;
|
||||||
};
|
keep_weekly = 4;
|
||||||
retention = {
|
keep_monthly = 6;
|
||||||
keep_daily = 7;
|
|
||||||
keep_weekly = 4;
|
|
||||||
keep_monthly = 6;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user