diff options
| author | Will Fancher <elvishjerricco@gmail.com> | 2024-08-31 12:21:36 -0400 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-08-31 18:39:20 +0000 |
| commit | d8295132355fc8b19871d56c4859548cf83275df (patch) | |
| tree | 427aa4420bedf8fc414355abac79dd4f999d6533 | |
| parent | [24.05] backport fcgiwrap instances fix for local privilege escalation issue ... (diff) | |
| download | nixpkgs-d8295132355fc8b19871d56c4859548cf83275df.tar.gz | |
nixos/iso-image: Compress squashfs with zstd 19
(cherry picked from commit 49192ef7a3dd166fc176e8bf7ad74160b09d58b4)
| -rw-r--r-- | nixos/modules/installer/cd-dvd/iso-image.nix | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index 06949bda1cb2..e516d8ea6f8b 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -506,12 +506,7 @@ in }; isoImage.squashfsCompression = mkOption { - default = with pkgs.stdenv.hostPlatform; "xz -Xdict-size 100% " - + lib.optionalString isx86 "-Xbcj x86" - # Untested but should also reduce size for these platforms - + lib.optionalString isAarch "-Xbcj arm" - + lib.optionalString (isPower && is32bit && isBigEndian) "-Xbcj powerpc" - + lib.optionalString (isSparc) "-Xbcj sparc"; + default = "zstd -Xcompression-level 19"; type = lib.types.nullOr lib.types.str; description = '' Compression settings to use for the squashfs nix store. |
