at 18.09-beta 557 B view raw
1{ config, pkgs, lib, ... }: 2 3{ 4 5 ###### interface 6 7 options = { 8 9 networking.enableIntel2200BGFirmware = lib.mkOption { 10 default = false; 11 type = lib.types.bool; 12 description = '' 13 Turn on this option if you want firmware for the Intel 14 PRO/Wireless 2200BG to be loaded automatically. This is 15 required if you want to use this device. 16 ''; 17 }; 18 19 }; 20 21 22 ###### implementation 23 24 config = lib.mkIf config.networking.enableIntel2200BGFirmware { 25 26 hardware.firmware = [ pkgs.intel2200BGFirmware ]; 27 28 }; 29 30}