dotfiles.nix/nixos/viridian/services/borgbackup/default.nix

24 lines
454 B
Nix
Raw Normal View History

2024-08-08 09:02:42 +08:00
{...}: {
2024-01-01 07:23:46 +08:00
services.borgbackup.jobs = {
2024-01-23 09:48:12 +08:00
containers = {
2024-01-01 07:23:46 +08:00
paths = [
2024-01-23 09:48:12 +08:00
"/srv/containers"
2024-01-01 07:23:46 +08:00
];
encryption.mode = "none";
2024-06-03 21:20:24 +08:00
repo = "/srv/backup/containers";
compression = "auto,zstd";
startAt = "daily";
};
services = {
paths = [
"/srv/services"
];
encryption.mode = "none";
repo = "/srv/backup/services";
compression = "auto,zstd";
startAt = "daily";
};
2024-01-01 07:23:46 +08:00
};
}