diff options
Diffstat (limited to 'nixos/modules/hardware/network/ralink.nix')
-rw-r--r-- | nixos/modules/hardware/network/ralink.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixos/modules/hardware/network/ralink.nix b/nixos/modules/hardware/network/ralink.nix new file mode 100644 index 0000000000000..92f34d8643bc1 --- /dev/null +++ b/nixos/modules/hardware/network/ralink.nix @@ -0,0 +1,26 @@ +{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; + }; + +} |