c66094a310
svn path=/nixos/branches/modular-nixos/; revision=15702
21 lines
332 B
Nix
21 lines
332 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 = [ pkgs.iwlwifi4965ucode ];
|
|
};
|
|
};
|
|
}
|