summary refs log tree commit diff
path: root/nixos/modules/hardware/network/intel-3945abg.nix
blob: 80baf260ab9ae801af88f133c0d8e893d6b87854 (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
{ config, pkgs, ... }:

{

  ###### 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.enableAllFirmware = true;

  };

}