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:
parent
e5dacbe6a8
commit
d121bb15b5
26
modules/hardware/network/rtl8192c.nix
Normal file
26
modules/hardware/network/rtl8192c.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue