fix: btrbk - kubevirt

This commit is contained in:
Ryan Yin
2024-07-30 12:41:08 +08:00
parent 0620f199b2
commit 6670c5bd7d

View File

@@ -18,13 +18,13 @@
"${toString modulesPath}/profiles/qemu-guest.nix"
];
# backup only once a week inside all virtual machines
services.btrbk.instances.btrbk = {
onCalendar = lib.mkForce "Wed *-*-* 5:25:20";
settings.snapshot_preserve = lib.mkForce "7d";
};
config = {
# backup only once a week inside all virtual machines
services.btrbk.instances.btrbk = {
onCalendar = lib.mkForce "Wed *-*-* 5:25:20";
settings.snapshot_preserve = lib.mkForce "7d";
};
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";