diff --git a/hosts/fra1-c/configuration.nix b/hosts/fra1-c/configuration.nix index 0c2cbb4..a220d3f 100644 --- a/hosts/fra1-c/configuration.nix +++ b/hosts/fra1-c/configuration.nix @@ -94,6 +94,23 @@ in }; }; + btrfssnapshot = { + enable = true; + subvolumes = [ + { + subvolume = "/var/lib"; + label = "hourly"; + keep = 24; + refreshInterval = "*:00:00"; + } + { + subvolume = "/var/lib"; + label = "5minutely"; + keep = 12; + refreshInterval = "*:0/5"; + } + ]; + }; }; }; diff --git a/modules/profiles/workstation/default.nix b/modules/profiles/workstation/default.nix index 3ac28d3..0bb14f2 100644 --- a/modules/profiles/workstation/default.nix +++ b/modules/profiles/workstation/default.nix @@ -47,6 +47,7 @@ in shfmt tokei shfmt + mbpoll # modbus poll bloaty skopeo inferno