summary refs log tree commit diff
path: root/modules/hardware/network/intel-3945abg.nix
blob: 9fe4be500f1e8a8a7144eb2aa339cb93ee84df39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{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 {
  
    hardware.firmware = [ pkgs.iwlwifi3945ucode ];

  };
  
}