at 16.09-beta 542 B view raw
1{ config, pkgs, lib, ... }: 2 3{ 4 5 ###### interface 6 7 options = { 8 9 networking.enableIntel2100BGFirmware = 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 2100BG 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.enableIntel2100BGFirmware { 25 26 hardware.enableAllFirmware = true; 27 28 }; 29 30}