nixfiles/nixos/profiles/laptop/thermald.nix

11 lines
167 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
in {
config = mkIf (config.machine.cpuVendor == "intel") {
services.thermald.enable = true;
};
}