* "hardware" belongs in the NixOS tree, not in the configurations
tree. (The configurations tree is not for general use.) svn path=/nixos/branches/modular-nixos/; revision=15672
This commit is contained in:
parent
f99fe41f65
commit
be85fd2500
11
modules/hardware/network/Intel2200BG.nix
Normal file
11
modules/hardware/network/Intel2200BG.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
udev = {
|
||||||
|
# Warning: setting this option requires acceptance of the firmware
|
||||||
|
# license, see http://ipw2200.sourceforge.net/firmware.php?fid=7.
|
||||||
|
addFirmware = [ pkgs.ipw2200fw ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
21
modules/hardware/network/Intel3945ABG.nix
Normal file
21
modules/hardware/network/Intel3945ABG.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (config.boot) kernelPackages;
|
||||||
|
inherit (kernelPackages) kernel;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
boot = {
|
||||||
|
extraModulePackages =
|
||||||
|
pkgs.lib.optional
|
||||||
|
(!kernel.features ? iwlwifi)
|
||||||
|
kernelPackages.iwlwifi;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
udev = {
|
||||||
|
addFirmware = [ pkgs.iwlwifi3945ucode ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
21
modules/hardware/network/Intel4965AGN.nix
Normal file
21
modules/hardware/network/Intel4965AGN.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (config.boot) kernelPackages;
|
||||||
|
inherit (kernelPackages) kernel;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
boot = {
|
||||||
|
extraModulePackages =
|
||||||
|
pkgs.lib.optional
|
||||||
|
(!kernel.features ? iwlwifi)
|
||||||
|
kernelPackages.iwlwifi;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
udev = {
|
||||||
|
addFirmware = [ pkgs.iwlwifi4965ucode ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
9
modules/hardware/network/SMC2632W/default.nix
Normal file
9
modules/hardware/network/SMC2632W/default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
hardware = {
|
||||||
|
pcmcia = {
|
||||||
|
firmware = [ (pkgs.lib.cleanSource ./firmware) ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
vers_1 5.0, "SMC", "SMC2632W", "Version 01.02", ""
|
||||||
|
manfid 0x0156, 0x0002
|
||||||
|
funcid network_adapter
|
||||||
|
cftable_entry 0x01 [default]
|
||||||
|
Vcc Vmin 3000mV Vmax 3300mV Iavg 300mA Ipeak 300mA
|
||||||
|
Idown 10mA
|
||||||
|
io 0x0000-0x003f [lines=6] [16bit]
|
||||||
|
irq mask 0xffff [level] [pulse]
|
9
modules/hardware/network/ZydasZD1211.nix
Normal file
9
modules/hardware/network/ZydasZD1211.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
udev = {
|
||||||
|
addFirmware = [ pkgs.zd1211fw ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
25
modules/hardware/video/encoder/Go7007.nix
Normal file
25
modules/hardware/video/encoder/Go7007.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{pkgs, config, ...}:
|
||||||
|
|
||||||
|
let
|
||||||
|
wisGo7007 = config.boot.kernelPackages.wis_go7007;
|
||||||
|
|
||||||
|
wisGo7007Pkg = [ wis_go7007 ];
|
||||||
|
wisGo7007Firmware = [ "${wis_go7007}/firmware" ];
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
boot = {
|
||||||
|
extraModulePackages = wisGo7007Pkg;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
extraPackages = wisGo7007Pkg;
|
||||||
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
udev = {
|
||||||
|
addFirmware = wisGo7007Firmware;
|
||||||
|
addUdevPkgs = wisGo7007Pkg;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user