mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
31 lines
542 B
Nix
31 lines
542 B
Nix
{ 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.enableAllFirmware = true;
|
|
|
|
};
|
|
|
|
}
|