dot.nix/hosts/x86/sock/config/backups.nix

23 lines
401 B
Nix

{
config,
lib,
pkgs,
...
}:
{
services.backup = {
enable = true;
notificationUrl = lib.custom.mkAppriseUrl config.secretsSpec.users.admin.smtp "relay@ryot.foo";
enableChainTimer = true;
jobs = [
{
name = "ochre-storage";
title = "Ochre Storage";
repo = "/pool/Backups/OchreStorage";
sourcePath = "/OchreStorage";
}
];
};
}