about summary refs log tree commit diff
path: root/nixos/modules/hardware/network/intel-2200bg.nix
blob: 1b70057d135bdc4edaff310ec0a90d1f5bf75679 (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, lib, ... }:

{

  ###### interface

  options = {

    networking.enableIntel2200BGFirmware = lib.mkOption {
      default = false;
      type = 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 = lib.mkIf config.networking.enableIntel2200BGFirmware {

    hardware.enableAllFirmware = true;

  };

}