enabled btrbk

feat/kile-v2
Ricard Illa 2022-11-06 13:31:43 +01:00
parent da08d77dc1
commit f9f2989dbf
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 34 additions and 0 deletions

View File

@ -122,6 +122,23 @@ in {
# }; # };
#}; #};
# todo: target and/or archive
services.btrbk.instances.btrbk = {
onCalendar = "*:0/30"; # every 30 minutes
settings = {
snapshot_preserve = "2d";
snapshot_preserve_min = "latest";
snapshot_create = "onchange";
volume."/mnt/btr_root" = {
snapshot_dir = "btrbk_snapshots";
subvolume = {
data = { };
persist = { };
};
};
};
};
services.xserver.deviceSection = '' services.xserver.deviceSection = ''
Option "TearFree" "true" Option "TearFree" "true"
''; '';

View File

@ -163,6 +163,23 @@ in {
# }; # };
# }; # };
# todo: target and/or archive
services.btrbk.instances.btrbk = {
onCalendar = "*:0/30"; # every 30 minutes
settings = {
snapshot_preserve = "2d";
snapshot_preserve_min = "latest";
snapshot_create = "onchange";
volume."/mnt/btr_user" = {
snapshot_dir = "btrbk_snapshots";
subvolume = {
data = { };
persist = { };
};
};
};
};
networking = { networking = {
hostName = "trantor"; hostName = "trantor";
interfaces = { interfaces = {