Setup backups on odyssey

This commit is contained in:
Jordan Holt 2023-12-03 21:59:56 +00:00
parent bbf835d127
commit 3f0601c590
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -69,6 +69,29 @@ with lib.my;
};
};
services.borgmatic = {
enable = true;
settings = {
location = {
source_directories = [
"/home/jordan/Documents"
];
repositories = [
"ssh://s6ac8m61@s6ac8m61.repo.borgbase.com/./repo"
];
};
storage = {
encryption_passcommand = "cat /run/agenix/odyssey_borg_passphrase";
ssh_command = "ssh -i /etc/ssh/ssh_host_ed25519_key";
};
retention = {
keep_daily = 7;
keep_weekly = 4;
keep_monthly = 6;
};
};
};
modules = {
desktop = {
apps.qbittorrent.enable = true;