diff --git a/modules/partitions.nix b/modules/partitions.nix index fa1fe5c..13aa6de 100644 --- a/modules/partitions.nix +++ b/modules/partitions.nix @@ -21,9 +21,10 @@ mkfsOptions = { erofs = [ - # "-zzstd,6" # Zstd compression + "-zzstd,6" # Zstd compression "-T0" # Fixed timestamp for all files - "-Efragments,dedupe,ztailpacking" # Extended options + "-C65536" # 64 KiB cluster size + # "-Efragments,dedupe,ztailpacking" # Extra features ]; }; diff --git a/overlays/default.nix b/overlays/default.nix index 0ef9a38..b84ffbb 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -3,6 +3,7 @@ final: prev: { erofs-utils = prev.erofs-utils.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ prev.zstd ]; configureFlags = old.configureFlags ++ [ + "--enable-multithreading" "--enable-zstd" ]; });