nixos/microcode-amd: Update to early initrd loader
This commit is contained in:
parent
27f355c1e3
commit
86666893f0
@ -22,8 +22,7 @@ with lib;
|
|||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.hardware.cpu.amd.updateMicrocode {
|
config = mkIf config.hardware.cpu.amd.updateMicrocode {
|
||||||
hardware.firmware = [ "${pkgs.amdUcode}/lib/firmware" ];
|
boot.initrd.prepend = [ "${pkgs.microcodeAmd}/amd-ucode.img" ];
|
||||||
boot.kernelModules = [ "microcode" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user