fixed intel microcode loading during boot
svn path=/nixos/trunk/; revision=33226
This commit is contained in:
parent
21393eed1e
commit
c5a8d53d95
|
@ -23,7 +23,17 @@ with pkgs.lib;
|
||||||
|
|
||||||
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
||||||
hardware.firmware = [ pkgs.microcodeIntel ];
|
hardware.firmware = [ pkgs.microcodeIntel ];
|
||||||
boot.kernelModules = [ "microcode" ];
|
|
||||||
|
# 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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue