nixdots/system/shared/hardware/cpu/amd.nix
2024-07-27 01:07:07 +02:00

12 lines
168 B
Nix

{
config,
lib,
...
}: let
dev = config.myOptions.device;
in {
config = lib.mkIf (dev.cpu.type == "amd") {
hardware.cpu.amd.updateMicrocode = true;
};
}