nixdots/system/hardware/cpu/intel.nix

10 lines
166 B
Nix

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