3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules/hardware/network/intel-3945abg.nix
Eelco Dolstra 32bb5b2d0f * Bring back the options to enable/disable the Intel firmwares.
svn path=/nixos/branches/modular-nixos/; revision=16574
2009-08-04 08:50:02 +00:00

30 lines
509 B
Nix

{pkgs, config, ...}:
{
###### interface
options = {
networking.enableIntel3945ABGFirmware = pkgs.lib.mkOption {
default = false;
type = pkgs.lib.types.bool;
description = ''
This option enables automatic loading of the firmware for the Intel
PRO/Wireless 3945ABG.
'';
};
};
###### implementation
config = pkgs.lib.mkIf config.networking.enableIntel3945ABGFirmware {
services.udev.addFirmware = [ pkgs.iwlwifi3945ucode ];
};
}