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

23 lines
391 B
Nix
Raw Normal View History

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-01-23 09:48:12 +08:00
repo = "/srv/backup/borg/containers";
2024-06-03 21:10:23 +08:00
shares = {
paths = [
"/srv/shares"
];
encryption.mode = "none";
repo = "/srv/backup/shares";
2024-01-01 07:23:46 +08:00
compression = "auto,zstd";
startAt = "daily";
};
};
}