Setup backups on odyssey
This commit is contained in:
parent
bbf835d127
commit
3f0601c590
@ -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 = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
apps.qbittorrent.enable = true;
|
apps.qbittorrent.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user