From 856aa888821d77fbe42af4d2ba08aecc74f0cc62 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 17 May 2024 10:52:15 -0400 Subject: [PATCH] Tweaks for Khanda --- flake.lock | 6 +++--- hosts/Khanda/default.nix | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index b91bab9..7b39100 100644 --- a/flake.lock +++ b/flake.lock @@ -150,11 +150,11 @@ ] }, "locked": { - "lastModified": 1715486357, - "narHash": "sha256-4pRuzsHZOW5W4CsXI9uhKtiJeQSUoe1d2M9mWU98HC4=", + "lastModified": 1715930644, + "narHash": "sha256-W9pyM3/vePxrffHtzlJI6lDS3seANQ+Nqp+i58O46LI=", "owner": "nix-community", "repo": "home-manager", - "rev": "44677a1c96810a8e8c4ffaeaad10c842402647c1", + "rev": "e3ad5108f54177e6520535768ddbf1e6af54b59d", "type": "github" }, "original": { diff --git a/hosts/Khanda/default.nix b/hosts/Khanda/default.nix index 3c11790..3bb3370 100644 --- a/hosts/Khanda/default.nix +++ b/hosts/Khanda/default.nix @@ -37,6 +37,12 @@ # Build remotely nix.distributedBuilds = true; + # Enable thermal control + services.thermald.enable = true; + + # Limit the number of cores Nix can use so at least one is always free + nix.settings.cores = 11; + # Configure the virtual machine created by nixos-rebuild build-vm virtualisation.vmVariant.virtualisation = { memorySize = 2048;