1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/modules/hardware/network/ralink.nix
Eelco Dolstra 047b65dd68 Typo
2013-08-14 03:34:40 +02:00

27 lines
428 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.enableAllFirmware = true;
};
}