Amd: Always update microcode by default.

This commit is contained in:
Dmitry Voronin 2024-12-25 06:47:52 +03:00
parent b877a6febb
commit 2603b947d2
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -11,7 +11,7 @@ in
lib.mkMerge [ lib.mkMerge [
{ {
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = true;
} }
(lib.mkIf cfg.powersave { (lib.mkIf cfg.powersave {
module.powersave = { module.powersave = {