This commit is contained in:
Till 2023-07-05 21:07:25 +02:00
parent 3d4c7bcf8e
commit f5fc3fbeda
3 changed files with 14 additions and 2 deletions

12
system/btrbk.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.btrbk.instances.btrbk = {
settings = {
snapshot_preserve = "14d";
snapshot_preserve_min = "2d";
snapshot_dir = "/btrbk_snapshots";
subvolume = "/home";
};
};
}