nixdots/system/shared/hardware/cpu/amd.nix

12 lines
168 B
Nix
Raw Permalink Normal View History

2024-03-21 20:47:25 +00:00
{
2024-07-26 23:07:07 +00:00
config,
lib,
...
}: let
dev = config.myOptions.device;
in {
2024-03-23 20:35:29 +00:00
config = lib.mkIf (dev.cpu.type == "amd") {
2024-03-21 20:47:25 +00:00
hardware.cpu.amd.updateMicrocode = true;
};
}