diff --git a/nix/metal/bitteProfile/default.nix b/nix/metal/bitteProfile/default.nix index fda74a2..95558b0 100644 --- a/nix/metal/bitteProfile/default.nix +++ b/nix/metal/bitteProfile/default.nix @@ -75,6 +75,16 @@ in { path = "/nix"; read_only = false; }; + + # Remove when ZFS >= 2.1.5 + # Ref: + # https://github.com/openzfs/zfs/pull/12746 + system.activationScripts.zfsAccurateHoleReporting = { + text = '' + echo 1 > /sys/module/zfs/parameters/zfs_dmu_offset_next_sync + ''; + deps = []; + }; }); } // extraConfig;