2009-05-20 12:44:50 +02:00
|
|
|
{pkgs, config, ...}:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (config.boot) kernelPackages;
|
|
|
|
inherit (kernelPackages) kernel;
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
boot = {
|
|
|
|
extraModulePackages =
|
|
|
|
pkgs.lib.optional
|
|
|
|
(!kernel.features ? iwlwifi)
|
|
|
|
kernelPackages.iwlwifi;
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
udev = {
|
2009-06-26 23:40:29 +02:00
|
|
|
addFirmware = [ kernelPackages.iwlwifi4965ucode ];
|
2009-05-20 12:44:50 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|