enable thermald on physical machines

This commit is contained in:
Peder Bergebakken Sundt 2024-08-10 23:55:29 +02:00
parent 2f3bcaf124
commit fe3e5d6a3d

View File

@ -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 = ''