main
 1{lib, ...}: {
 2  den.aspects.core.hardware.cpu.intel = {
 3    nixos = {config, ...}: let
 4      hasIntelCPU =
 5        lib.any (c: c.vendor_name == "GenuineIntel")
 6        config.hardware.facter.report.hardware.cpu;
 7      isVM = config.hardware.facter.report.virtualisation != "none";
 8    in
 9      lib.mkIf (hasIntelCPU && !isVM) {
10        # Cooling management for Intel CPU
11        services.thermald.enable = true;
12      };
13  };
14}