3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/hardware/network/intel-3945abg.nix

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 ];
};
};
}