From 4262c60ad01736e2a3adc0e0be042bc842c513d3 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Thu, 24 Aug 2023 17:28:33 -0700 Subject: [PATCH] Added zfs-prune-snapshots --- modules/system/zfs/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system/zfs/default.nix b/modules/system/zfs/default.nix index 69cfeee..ef466d6 100644 --- a/modules/system/zfs/default.nix +++ b/modules/system/zfs/default.nix @@ -14,6 +14,8 @@ in { }; config = mkIf cfg.enable { + environment.systemPackages = [pkgs.zfs-prune-snapshots]; + services.zfs = { autoScrub.enable = true; # Still need to set `com.sun:auto-snapshot` to `true` on datasets