summary refs log blame commit diff
path: root/nixos/modules/hardware/network/intel-2100bg.nix
blob: 1e0033eb414a191b605e25d115ed1b53e9d39b88 (plain) (tree)
1
2
3
4
5
6
7
8
                      





                  
 





                                                                
                                                






                       
 
                                                                      
 
                                      

    
 
 
{ config, pkgs, ... }:

{

  ###### interface

  options = {

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

    hardware.enableAllFirmware = true;

  };

}