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

10 lines
162 B
Nix
Raw Permalink Normal View History

2024-03-21 20:47:25 +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;
};
}