From fe3e5d6a3dd0d3c2c9f6817235c38f04198b8eb3 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 10 Aug 2024 23:55:29 +0200 Subject: [PATCH] enable thermald on physical machines --- base.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base.nix b/base.nix index 092cce2..19e257d 100644 --- a/base.nix +++ b/base.nix @@ -76,6 +76,12 @@ # Trusted users on the nix builder machines users.groups."nix-builder-users".name = "nix-builder-users"; + # 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; + services.openssh = { enable = true; extraConfig = '' -- 2.44.2