mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
eb6e1310b8
svn path=/nixos/trunk/; revision=29285
27 lines
425 B
Nix
27 lines
425 B
Nix
{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 ];
|
|
};
|
|
|
|
}
|