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