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

12 lines
172 B
Nix

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