mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02:00
fix: btrbk - kubevirt
This commit is contained in:
@@ -18,13 +18,13 @@
|
|||||||
"${toString modulesPath}/profiles/qemu-guest.nix"
|
"${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 = {
|
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."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-label/nixos";
|
device = "/dev/disk/by-label/nixos";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
|||||||
Reference in New Issue
Block a user