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{ ... }:
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" "pata_efar"
23 "pata_hpt366" "pata_hpt37x" "pata_hpt3x2n" "pata_hpt3x3"
24 "pata_it8213" "pata_it821x" "pata_jmicron" "pata_marvell"
25 "pata_mpiix" "pata_netcell" "pata_ns87410" "pata_oldpiix"
26 "pata_pcmcia" "pata_pdc2027x" "pata_qdi" "pata_rz1000"
27 "pata_serverworks" "pata_sil680" "pata_sis"
28 "pata_sl82c105" "pata_triflex" "pata_via"
29 "pata_winbond"
30
31 # SCSI support (incomplete).
32 "3w-9xxx" "3w-xxxx" "aic79xx" "aic7xxx" "arcmsr"
33
34 # USB support, especially for booting from USB CD-ROM
35 # drives.
36 "uas"
37
38 # Firewire support. Not tested.
39 "ohci1394" "sbp2"
40
41 # Virtio (QEMU, KVM etc.) support.
42 "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "virtio_balloon" "virtio_console"
43
44 # VMware support.
45 "mptspi" "vmw_balloon" "vmwgfx" "vmw_vmci" "vmw_vsock_vmci_transport" "vmxnet3" "vsock"
46
47 # Hyper-V support.
48 "hv_storvsc"
49 ];
50
51 # Include lots of firmware.
52 hardware.enableRedistributableFirmware = true;
53
54 imports =
55 [ ../hardware/network/zydas-zd1211.nix ];
56
57}