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

{

  ###### interface

  options = {

    networking.enableIntel2200BGFirmware = pkgs.lib.mkOption {
      default = false;
      type = pkgs.lib.types.bool;
      description = ''
        Turn on this option if you want firmware for the Intel
        PRO/Wireless 2200BG to be loaded automatically.  This is
        required if you want to use this device.
      '';
    };

  };


  ###### implementation

  config = pkgs.lib.mkIf config.networking.enableIntel2200BGFirmware {

    hardware.enableAllFirmware = true;

  };

}