summary refs log tree commit diff
path: root/nixos/modules/system/boot/modprobe.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-09-02 02:12:46 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-09-02 02:12:46 +0400
commitfa55a997015820ec54f9847f7d297c561e98629f (patch)
treeb9855a387ba2f9cc0caa2f16c0d7a449d4676383 /nixos/modules/system/boot/modprobe.nix
parent7727a3fe1dad9293eb58f5a7bf49bfb2cdf0daa9 (diff)
downloadnixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar.gz
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar.bz2
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar.lz
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar.xz
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.tar.zst
nixlib-fa55a997015820ec54f9847f7d297c561e98629f.zip
Load EHCI befor OHCI and UHCI; from patch by Mathnerd314
Diffstat (limited to 'nixos/modules/system/boot/modprobe.nix')
-rw-r--r--nixos/modules/system/boot/modprobe.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/modprobe.nix b/nixos/modules/system/boot/modprobe.nix
index 652eb046f50a..eaf8cf1ecd6f 100644
--- a/nixos/modules/system/boot/modprobe.nix
+++ b/nixos/modules/system/boot/modprobe.nix
@@ -77,6 +77,11 @@ with lib;
         '')}
         ${config.boot.extraModprobeConfig}
       '';
+    environment.etc."modprobe.d/usb-load-ehci-first.conf".text =
+      ''
+        softdep uhci_hcd pre: ehci_hcd
+        softdep ohci_hcd pre: ehci_hcd
+      '';
 
     environment.systemPackages = [ config.system.sbin.modprobe pkgs.kmod ];