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

{

  ###### interface

  options = {

    networking.enableIntel3945ABGFirmware = lib.mkOption {
      default = false;
      type = lib.types.bool;
      description = ''
        This option enables automatic loading of the firmware for the Intel
        PRO/Wireless 3945ABG.
      '';
    };

  };


  ###### implementation

  config = lib.mkIf config.networking.enableIntel3945ABGFirmware {

    hardware.enableRedistributalFirmware = true;

  };

}