From 02155976abc41a463ae3c64ce490bcc27572bc16 Mon Sep 17 00:00:00 2001 From: Thierry Pouplier Date: Fri, 15 Aug 2025 21:11:22 -0400 Subject: [PATCH] Enable ssd health and zfs snapshot --- hosts/lazyworkhorse/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/lazyworkhorse/configuration.nix b/hosts/lazyworkhorse/configuration.nix index cd6e82e..edc8c15 100644 --- a/hosts/lazyworkhorse/configuration.nix +++ b/hosts/lazyworkhorse/configuration.nix @@ -148,6 +148,11 @@ settings.PermitRootLogin = "no"; }; + services.fstrim.enable = true; + + services.zfs.autoSnapshot.enable = true; + services.zfs.autoScrub.enable = true; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];