nixos: clean up kernel modules
* the keyboard modules in all-hardware.nix are already defaults of
boot.initrd.availableKernelModules
* ide modules, hid_lenovo_tpkbd and scsi_wait_scan have been removed
because they're not available anymore
* i8042 was a duplicate (see few lines abowe)
commit3855b7977c3f987d6c09bc809e33073d64956f72
authorFranz Pletz <fpletz@fnordicwalking.de>
dateSat 7 Oct 2017, 01:42 (9 years ago)
parent3df126d
nixos/modules/profiles/all-hardware.nix+1−4
@@ -41,15 +41,12 @@
4141
4242 # Virtio (QEMU, KVM etc.) support.
4343 "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "virtio_balloon" "virtio_console"
44−
44+
4545 # VMware support.
4646 "mptspi" "vmw_balloon" "vmwgfx" "vmw_vmci" "vmw_vsock_vmci_transport" "vmxnet3" "vsock"
4747
4848 # Hyper-V support.
4949 "hv_storvsc"
50−
51− # Keyboards
52− "usbhid" "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat"
5350 ];
5451
5552 # Include lots of firmware.
nixos/modules/system/boot/kernel.nix+1−16
@@ -193,11 +193,6 @@ in
193193 "sd_mod"
194194 "sr_mod"
195195
196− # Standard IDE stuff.
197− "ide_cd"
198− "ide_disk"
199− "ide_generic"
200−
201196 # SD cards and internal eMMC drives.
202197 "mmc_block"
203198
@@ -211,21 +206,11 @@ in
211206 "xhci_hcd"
212207 "xhci_pci"
213208 "usbhid"
214− "hid_generic" "hid_lenovo"
215− "hid_apple" "hid_logitech_dj" "hid_lenovo_tpkbd" "hid_roccat"
209+ "hid_generic" "hid_lenovo" "hid_apple" "hid_roccat"
216210
217211 # Misc. keyboard stuff.
218212 "pcips2" "atkbd" "i8042"
219213
220− # Temporary fix for https://github.com/NixOS/nixpkgs/issues/18451
221− # Remove as soon as upstream gets fixed - marking it:
222− # TODO
223− # FIXME
224− "i8042"
225−
226− # To wait for SCSI devices to appear.
227− "scsi_wait_scan"
228−
229214 # Needed by the stage 2 init script.
230215 "rtc_cmos"
231216 ];