nixos/intel-microcode: Support early initrd ucode loading
This commit is contained in:
parent
f2655e4fa0
commit
b4fedf5315
@ -22,8 +22,7 @@ with lib;
|
|||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
config = mkIf config.hardware.cpu.intel.updateMicrocode {
|
||||||
hardware.firmware = [ "${pkgs.microcodeIntel}/lib/firmware" ];
|
boot.initrd.prepend = [ "${pkgs.microcodeIntel}/intel-ucode.img" ];
|
||||||
boot.kernelModules = [ "microcode" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user