1
0
mirror of https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git synced 2025-02-28 03:08:33 +01:00
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;
}