nixpkgs/modules/hardware/network/intel-3945abg.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

23 lines
338 B
Nix

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