nixos/intel-microcode: Support early initrd ucode loading

This commit is contained in:
William A. Kennington III 2015-03-25 12:03:30 -07:00
parent f2655e4fa0
commit b4fedf5315

View File

@ -22,8 +22,7 @@ with lib;
###### implementation
config = mkIf config.hardware.cpu.intel.updateMicrocode {
hardware.firmware = [ "${pkgs.microcodeIntel}/lib/firmware" ];
boot.kernelModules = [ "microcode" ];
boot.initrd.prepend = [ "${pkgs.microcodeIntel}/intel-ucode.img" ];
};
}