* Move the implementation of boot.kernelModules to udev's postStart.
It needs udevd to be running because the modules may require firmware. Thanks to Mathijs and Arie for pointing this out. svn path=/nixos/trunk/; revision=33234
This commit is contained in:
@@ -23,17 +23,7 @@ with pkgs.lib;
|
||||
|
||||
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
||||
hardware.firmware = [ pkgs.microcodeIntel ];
|
||||
|
||||
# This cannot be done using boot.kernelModules
|
||||
# discussion at http://lists.science.uu.nl/pipermail/nix-dev/2012-February/007959.html
|
||||
jobs.microcode = {
|
||||
name = "microcode";
|
||||
description = "load microcode";
|
||||
startOn = "started udev";
|
||||
exec = "modprobe microcode";
|
||||
path = [config.system.sbin.modprobe];
|
||||
task = true;
|
||||
};
|
||||
boot.kernelModules = [ "microcode" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user