From 87012187b28b1316e7fb0ff584cfe97b79d794a6 Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Sat, 5 Sep 2015 17:11:03 -0600 Subject: kmod-debian-aliases: init at 21-1 --- nixos/modules/system/boot/modprobe.nix | 6 +----- nixos/modules/system/boot/stage-1.nix | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'nixos/modules/system/boot') diff --git a/nixos/modules/system/boot/modprobe.nix b/nixos/modules/system/boot/modprobe.nix index c49380899664..9bb10eac9880 100644 --- a/nixos/modules/system/boot/modprobe.nix +++ b/nixos/modules/system/boot/modprobe.nix @@ -85,11 +85,7 @@ 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.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases; environment.systemPackages = [ config.system.sbin.modprobe pkgs.kmod ]; diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 893861a2eed2..f782eca3f647 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -241,6 +241,9 @@ let }; symlink = "/etc/modprobe.d/ubuntu.conf"; } + { object = pkgs.kmod-debian-aliases; + symlink = "/etc/modprobe.d/debian.conf"; + } ]; }; -- cgit 1.4.1