Last active
February 23, 2017 04:22
-
-
Save bradediger/bf426a6a2bd219441adf52eb34b8dd6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# iwlwifi firmware v22 has severe problems with 4.9 kernels. Blacklist the | |
# -22 firmware version; 21 is known good. | |
# | |
# The mkForce is _necessary_, because otherwise the default values for | |
# hardware.firmware ([kernel]) would be merged in, and the -22 would come | |
# from them as well. | |
hardware.firmware = lib.mkForce [ | |
(lib.overrideDerivation pkgs.firmwareLinuxNonfree (drv: { | |
postInstall = '' | |
rm $out/lib/firmware/iwlwifi-8000C-22.ucode | |
''; | |
})) | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment