nixpkgs/modules/hardware/network/Intel3945ABG.nix

22 lines
332 B
Nix
Raw Normal View History

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