add btrbk job for /nix

This commit is contained in:
Dmitriy Kholkin 2022-08-31 01:16:22 +03:00
parent ad2c73109a
commit 14867c3866

View File

@ -7,14 +7,25 @@ with config.deviceSpecific; {
hardware.bluetooth.enable = !isServer;
services.blueman.enable = !isServer;
services.btrbk.instances.home = {
settings = {
snapshot_preserve_min = "2d";
snapshot_preserve = "7d";
snapshot_dir = "/.snapshots";
subvolume = "/home";
services.btrbk.instances = {
home = {
settings = {
snapshot_preserve_min = "2d";
snapshot_preserve = "7d";
snapshot_dir = "/.snapshots";
subvolume = "/home";
};
onCalendar = "daily";
};
nix = {
settings = {
snapshot_preserve_min = "2d";
snapshot_preserve = "4d";
snapshot_dir = "/.snapshots";
subvolume = "/nix";
};
onCalendar = "daily";
};
onCalendar = "daily";
};
services.earlyoom = {