feat(borgbackup): replace borgmatic

This commit is contained in:
Will Holdsworth 2026-03-09 14:03:47 +11:00
parent d26b436626
commit a2d43c4dd9
Signed by: will-holdsworth
SSH key fingerprint: SHA256:Ykee8aymMJNAiYeeEmiwcIzkA1wgd4v8OZcWGxjq12c
18 changed files with 117 additions and 96 deletions

View file

@ -1,3 +1,7 @@
{
pkgs,
...
}:
let
port = 5009;
certloc = "/var/lib/acme/fi33.buzz";
@ -28,7 +32,14 @@ in
}
];
borgmatic.settings.source_directories = [ "/var/lib/prowlarr" ];
borgbackup.jobs = {
onsite = {
paths = [ "/var/lib/prowlarr" ];
};
offsite = {
paths = [ "/var/lib/prowlarr" ];
};
};
caddy.virtualHosts.${hostname}.extraConfig = ''
reverse_proxy localhost:${toString port}