nixpkgs/nixos/modules/hardware/network/ralink.nix

27 lines
418 B
Nix
Raw Normal View History

{pkgs, config, lib, ...}:
{
###### interface
options = {
networking.enableRalinkFirmware = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
2013-08-14 02:34:40 +01:00
Turn on this option if you want firmware for the RT73 NIC.
'';
};
};
###### implementation
config = lib.mkIf config.networking.enableRalinkFirmware {
hardware.enableAllFirmware = true;
};
}