1# This module enables all hardware supported by NixOS: i.e., all
2# firmware is included, and all devices from which one may boot are
3# enabled in the initrd. Its primary use is in the NixOS installation
4# CDs.
5
6{ config, pkgs, ... }:
7
8{
9
10 # The initrd has to contain any module that might be necessary for
11 # supporting the most important parts of HW like drives.
12 boot.initrd.availableKernelModules =
13 [ # SATA/PATA support.
14 "ahci"
15
16 "ata_piix"
17
18 "sata_inic162x" "sata_nv" "sata_promise" "sata_qstor"
19 "sata_sil" "sata_sil24" "sata_sis" "sata_svw" "sata_sx4"
20 "sata_uli" "sata_via" "sata_vsc"
21
22 "pata_ali" "pata_amd" "pata_artop" "pata_atiixp"
23 "pata_cs5520" "pata_cs5530" "pata_cs5535" "pata_efar"
24 "pata_hpt366" "pata_hpt37x" "pata_hpt3x2n" "pata_hpt3x3"
25 "pata_it8213" "pata_it821x" "pata_jmicron" "pata_marvell"
26 "pata_mpiix" "pata_netcell" "pata_ns87410" "pata_oldpiix"
27 "pata_pcmcia" "pata_pdc2027x" "pata_qdi" "pata_rz1000"
28 "pata_sc1200" "pata_serverworks" "pata_sil680" "pata_sis"
29 "pata_sl82c105" "pata_triflex" "pata_via"
30 "pata_winbond"
31
32 # SCSI support (incomplete).
33 "3w-9xxx" "3w-xxxx" "aic79xx" "aic7xxx" "arcmsr"
34
35 # USB support, especially for booting from USB CD-ROM
36 # drives.
37 "usb_storage"
38
39 # Firewire support. Not tested.
40 "ohci1394" "sbp2"
41
42 # Virtio (QEMU, KVM etc.) support.
43 "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "virtio_balloon" "virtio_console"
44
45 # VMware support.
46 "mptspi" "vmw_balloon" "vmwgfx" "vmw_vmci" "vmw_vsock_vmci_transport" "vmxnet3" "vsock"
47
48 # Hyper-V support.
49 "hv_storvsc"
50
51 # Keyboards
52 "usbhid" "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat"
53 ];
54
55 # Include lots of firmware.
56 hardware.enableRedistributableFirmware = true;
57
58 imports =
59 [ ../hardware/network/zydas-zd1211.nix ];
60
61}