dotfiles.nix/nixos/viridian/services/borgbackup.nix
2024-01-23 09:48:12 +08:00

17 lines
262 B
Nix

{ ... }:
{
services.borgbackup.jobs = {
containers = {
paths = [
"/srv/containers"
];
encryption.mode = "none";
repo = "/srv/backup/borg/containers";
compression = "auto,zstd";
startAt = "daily";
};
};
}