diff options
Diffstat (limited to 'nixos/modules/hardware/network/intel-2100bg.nix')
-rw-r--r-- | nixos/modules/hardware/network/intel-2100bg.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixos/modules/hardware/network/intel-2100bg.nix b/nixos/modules/hardware/network/intel-2100bg.nix new file mode 100644 index 000000000000..1e0033eb414a --- /dev/null +++ b/nixos/modules/hardware/network/intel-2100bg.nix @@ -0,0 +1,30 @@ +{ 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; + + }; + +} |