diff --git a/os/lib/make-squashfs.nix b/os/lib/make-squashfs.nix index 16b0f528a..b27e61833 100644 --- a/os/lib/make-squashfs.nix +++ b/os/lib/make-squashfs.nix @@ -24,6 +24,6 @@ stdenv.mkDerivation { # Generate the squashfs image. mksquashfs nix-path-registration $(cat $closureInfo/store-paths) \ ${lib.optionalString (secretsDir != null) secretsDir} \ - $out -keep-as-directory -all-root -b 1048576 -comp xz -Xdict-size 100% + $out -keep-as-directory -all-root -b 1048576 -comp zstd -Xcompression-level 7 ''; }