1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00

fixed intel microcode loading during boot

svn path=/nixos/trunk/; revision=33226
This commit is contained in:
Mathijs Kwik 2012-03-18 08:10:32 +00:00
parent 21393eed1e
commit c5a8d53d95

View file

@ -23,7 +23,17 @@ with pkgs.lib;
config = mkIf config.hardware.cpu.intel.updateMicrocode {
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;
};
};
}