pvv-nixos-config/base/services/thermald.nix

8 lines
215 B
Nix
Raw Normal View History

2024-08-31 22:23:09 +02:00
{ 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;
}