Add microcode updates for AMD

This commit is contained in:
Emi Simpson 2023-01-15 15:17:21 -05:00
parent 2008a0f264
commit 3325f2b593
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847
2 changed files with 2 additions and 0 deletions

View file

@ -190,6 +190,7 @@ let systemInformation = import ./system/system-information.nix; in
}; };
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
hardware.cpu.intel.updateMicrocode = systemInformation.isIntel; hardware.cpu.intel.updateMicrocode = systemInformation.isIntel;
hardware.cpu.amd.updateMicrocode = systemInformation.isAmd;
# high-resolution display # high-resolution display
hardware.video.hidpi.enable = systemInformation.isHiDPI; hardware.video.hidpi.enable = systemInformation.isHiDPI;

View file

@ -7,4 +7,5 @@
isHiDPI = true; isHiDPI = true;
isIntel = true; isIntel = true;
isAmd = false;
} }