pvv-nixos-config/base/services/thermald.nix
2024-08-31 22:28:17 +02:00

8 lines
215 B
Nix

{ config, lib, ... }:
{
# Let's not thermal throttle
services.thermald.enable = lib.mkIf (lib.all (x: x) [
(config.nixpkgs.system == "x86_64-linux")
(!config.boot.isContainer or false)
]) true;
}