nixpkgs/modules/hardware/network/intel-4965agn.nix
Eelco Dolstra ab1676b457 * Urgh, this should have been in commit r16350.
svn path=/nixos/branches/modular-nixos/; revision=16353
2009-07-14 13:28:50 +00:00

22 lines
342 B
Nix

{pkgs, config, ...}:
let
inherit (config.boot) kernelPackages;
inherit (kernelPackages) kernel;
in
{
boot = {
extraModulePackages =
pkgs.lib.optional
(!kernel.features ? iwlwifi)
kernelPackages.iwlwifi;
};
services = {
udev = {
addFirmware = [ kernelPackages.iwlwifi4965ucode ];
};
};
}