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

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