config

NixOS config
Log | Files | Refs | README | LICENSE

commit edc2df97f05af8be25c6621fefca4e23038bba62 (tree)
parent 3a4438c86482923ad54b4baf07857c119841247c
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Mon, 24 Nov 2025 23:39:42 +0200

fra1-c: snapshot /var/lib

Diffstat:
Mhosts/fra1-c/configuration.nix | 17+++++++++++++++++
Mmodules/profiles/workstation/default.nix | 1+
2 files changed, 18 insertions(+), 0 deletions(-)

diff --git 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 @@ -47,6 +47,7 @@ in shfmt tokei shfmt + mbpoll # modbus poll bloaty skopeo inferno