Adding support for the rt73 usb wifi nic firmware loading.
svn path=/nixos/trunk/; revision=17264
This commit is contained in:
parent
2ebd1252aa
commit
4670b1318a
26
modules/hardware/network/rt73.nix
Normal file
26
modules/hardware/network/rt73.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{pkgs, config, ...}:
|
||||
|
||||
{
|
||||
|
||||
###### interface
|
||||
|
||||
options = {
|
||||
|
||||
networking.enableRT73Firmware = pkgs.lib.mkOption {
|
||||
default = false;
|
||||
type = pkgs.lib.types.bool;
|
||||
description = ''
|
||||
Turn on this option if you want firmware for the RT73 NIC
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
||||
config = pkgs.lib.mkIf config.networking.enableRT73Firmware {
|
||||
hardware.firmware = [ pkgs.rt73fw ];
|
||||
};
|
||||
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
./config/users-groups.nix
|
||||
./hardware/network/intel-2200bg.nix
|
||||
./hardware/network/intel-3945abg.nix
|
||||
./hardware/network/rt73.nix
|
||||
./hardware/pcmcia.nix
|
||||
./installer/grub/grub.nix
|
||||
./installer/tools/nixos-checkout.nix
|
||||
|
|
Loading…
Reference in a new issue