This is an automated archive made by the Lemmit Bot.
The original was posted on /r/nixos by /u/e-tho on 2024-11-11 13:57:59+00:00.
If you’ve got an AMD platform, you might not know that microcode updates are only pushed to linux-firmware
for certain server-grade models (yes, this does mean that hardware.cpu.amd.updateMicrocode
is a dummy setting on the vast majority of machines). For consumer CPUs, AMD leaves it up to motherboard and laptop manufacturers to distribute them through BIOS releases. Unfortunately, BIOS updates can be risky, and we all know that manufacturer support for consumer products can be inconsistent, with frequent delays or even dropped updates.
That’s why I created ucodenix
a few months back, a Nix flake for unsupported AMD CPUs on Linux. It automatically fetches the latest microcodes from a repository that gathers official updates from various manufacturers, then prepares them for the Linux kernel and installs them seamlessly. It just got updated to automatically and reliably detect your CPU model ID, so all you need to do is enable the module with services.ucodenix.enable = true;
, and you’re good to go.
If you want peace of mind knowing your system has the latest security and performance patches without the hassle, enjoy!