mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/firmware: fix compression condition
This commit is contained in:
parent
710e54a9bf
commit
ace2b4c260
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ let
|
|||
'';
|
||||
|
||||
compressFirmware = firmware:
|
||||
if config.hardware.firmwareCompression == "none" || (firmware.compressFirmware or false) == false then firmware
|
||||
if config.hardware.firmwareCompression == "none" || (firmware.compressFirmware or true) == false then firmware
|
||||
else if config.hardware.firmwareCompression == "zstd" then pkgs.compressFirmwareZstd firmware
|
||||
else pkgs.compressFirmwareXz firmware;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue