1 { config, lib, pkgs, ... }:
6 hardware.cpu.intel.updateMicrocode = lib.mkOption {
10 Update the CPU microcode for Intel processors.
17 config = lib.mkIf config.hardware.cpu.intel.updateMicrocode {
18 # Microcode updates must be the first item prepended in the initrd
19 boot.initrd.prepend = lib.mkOrder 1 [ "${pkgs.microcode-intel}/intel-ucode.img" ];