diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2023-09-22 16:48:54 +0200 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2024-01-07 22:46:20 -0600 |
commit | 5a718794d0f559963fd5a21e18896a66c5232645 (patch) | |
tree | 46cc0a36fd734bce34e73f11f59eddf4eecd4bb0 /nixos/modules/installer | |
parent | ad51bcc62abee5437b981380a065809ca9ec13ab (diff) |
nixos/lib/make-squashfs.nix: allow disabling compression
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/cd-dvd/iso-image.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index 0b5135c088eaf..6adb94e09aff3 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -512,9 +512,10 @@ in + lib.optionalString isAarch "-Xbcj arm" + lib.optionalString (isPower && is32bit && isBigEndian) "-Xbcj powerpc" + lib.optionalString (isSparc) "-Xbcj sparc"; - type = lib.types.str; + type = lib.types.nullOr lib.types.str; description = lib.mdDoc '' Compression settings to use for the squashfs nix store. + `null` disables compression. ''; example = "zstd -Xcompression-level 6"; }; |