Skip to content

Instantly share code, notes, and snippets.

@bradediger
Last active February 23, 2017 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradediger/bf426a6a2bd219441adf52eb34b8dd6a to your computer and use it in GitHub Desktop.
Save bradediger/bf426a6a2bd219441adf52eb34b8dd6a to your computer and use it in GitHub Desktop.
{
# 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