1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Add a NixOS module for the rtl8192c firmware

svn path=/nixos/trunk/; revision=27913
This commit is contained in:
Shea Levy 2011-07-23 23:01:39 +00:00
parent e5dacbe6a8
commit d121bb15b5
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{pkgs, config, ...}:
{
###### interface
options = {
networking.enableRTL8192cFirmware = pkgs.lib.mkOption {
default = false;
type = pkgs.lib.types.bool;
description = ''
Turn on this option if you want firmware for the RTL8192c (and related) NICs
'';
};
};
###### implementation
config = pkgs.lib.mkIf config.networking.enableRTL8192cFirmware {
hardware.firmware = [ pkgs.rtl8192cfw ];
};
}

View file

@ -17,6 +17,7 @@
./hardware/network/intel-2200bg.nix
./hardware/network/intel-3945abg.nix
./hardware/network/rt73.nix
./hardware/network/rtl8192c.nix
./hardware/pcmcia.nix
./installer/generations-dir/generations-dir.nix
./installer/grub/grub.nix