summary refs log tree commit diff
path: root/nixos/modules/hardware/network/intel-2100bg.nix
blob: 0ec81474ad3e924971102e868f8f49107066ec3c (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.enableIntel2100BGFirmware = lib.mkOption {
      default = false;
      type = lib.types.bool;
      description = ''
        Turn on this option if you want firmware for the Intel
        PRO/Wireless 2100BG to be loaded automatically.  This is
        required if you want to use this device.
      '';
    };

  };


  ###### implementation

  config = lib.mkIf config.networking.enableIntel2100BGFirmware {

    hardware.enableRedistributableFirmware = true;

  };

}