mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
Not sure what the upstream is since we pull the package from fedora, but this seems to be how other software repos call the package: https://repology.org/project/ipw2200-firmware/versions
35 lines
561 B
Nix
35 lines
561 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
networking.enableIntel2200BGFirmware = lib.mkOption {
|
|
default = false;
|
|
type = lib.types.bool;
|
|
description = ''
|
|
Turn on this option if you want firmware for the Intel
|
|
PRO/Wireless 2200BG to be loaded automatically. This is
|
|
required if you want to use this device.
|
|
'';
|
|
};
|
|
|
|
};
|
|
|
|
###### implementation
|
|
|
|
config = lib.mkIf config.networking.enableIntel2200BGFirmware {
|
|
|
|
hardware.firmware = [ pkgs.ipw2200-firmware ];
|
|
|
|
};
|
|
|
|
}
|