9e753f3a46
The rt73 fw were a subset of ralink, and the nixpkgs url for rt73 didn't work either. Ralink should make any rt73 card work.
27 lines
432 B
Nix
27 lines
432 B
Nix
{pkgs, config, ...}:
|
|
|
|
{
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
networking.enableRalinkFirmware = 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.enableRalinkFirmware {
|
|
hardware.firmware = [ pkgs.ralink_fw ];
|
|
};
|
|
|
|
}
|