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

12 lines
172 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 == "intel") {
2024-03-21 20:47:25 +00:00
hardware.cpu.intel.updateMicrocode = true;
};
}