mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
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 {
|
||||
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
Block a user