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

17 lines
262 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-01-01 07:23:46 +08:00
compression = "auto,zstd";
startAt = "daily";
};
};
}