nixos/modules: clean up wireless firmware options

All available options were just enabling
hardware.enableRedistributableFirmware. There were nix files without
modules which weren't referenced anywhere.
This commit is contained in:
Franz Pletz
2017-10-07 01:48:02 +02:00
parent b02b224027
commit 3df126dbf7
14 changed files with 7 additions and 141 deletions
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,30 +0,0 @@
{ config, pkgs, lib, ... }:
{
###### interface
options = {
networking.enableIntel2100BGFirmware = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
Turn on this option if you want firmware for the Intel
PRO/Wireless 2100BG to be loaded automatically. This is
required if you want to use this device.
'';
};
};
###### implementation
config = lib.mkIf config.networking.enableIntel2100BGFirmware {
hardware.enableRedistributableFirmware = true;
};
}
@@ -1,29 +0,0 @@
{ config, pkgs, lib, ... }:
{
###### interface
options = {
networking.enableIntel3945ABGFirmware = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
This option enables automatic loading of the firmware for the Intel
PRO/Wireless 3945ABG.
'';
};
};
###### implementation
config = lib.mkIf config.networking.enableIntel3945ABGFirmware {
hardware.enableRedistributableFirmware = true;
};
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
@@ -1,3 +0,0 @@
{
hardware.enableRedistributableFirmware = true;
}
-26
View File
@@ -1,26 +0,0 @@
{pkgs, config, lib, ...}:
{
###### interface
options = {
networking.enableRalinkFirmware = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
Turn on this option if you want firmware for the RT73 NIC.
'';
};
};
###### implementation
config = lib.mkIf config.networking.enableRalinkFirmware {
hardware.enableRedistributableFirmware = true;
};
}
@@ -1,26 +0,0 @@
{pkgs, config, lib, ...}:
{
###### interface
options = {
networking.enableRTL8192cFirmware = lib.mkOption {
default = false;
type = lib.types.bool;
description = ''
Turn on this option if you want firmware for the RTL8192c (and related) NICs.
'';
};
};
###### implementation
config = lib.mkIf config.networking.enableRTL8192cFirmware {
hardware.enableRedistributableFirmware = true;
};
}