This commit is contained in:
Peder Bergebakken Sundt 2024-10-18 20:50:04 +02:00
parent 8457b4f88b
commit a4bc2a97ba
2 changed files with 3 additions and 3 deletions

View File

@ -83,8 +83,8 @@
nix.gc.automatic = true;
nix.gc.dates = "weekly";
nix.gc.options = lib.mkIf config.system.autoUpgrade.enable "--delete-older-than 15d";
nix.settings.min-free = 3 * 1024 * 1024 * 1024;
nix.settings.max-free = 20 * 1024 * 1024 * 1024;
nix.settings.min-free = 3 * 1024 * 1024 * 1024; # starts cg
nix.settings.max-free = 20 * 1024 * 1024 * 1024; # condition to end gc triggered by min-free
services.thermald.enable = lib.mkIf (lib.all (x: x) [
(config.nixpkgs.system == "x86_64-linux")

View File

@ -153,7 +153,7 @@ ssh.listenPublicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIb
["heid.idi.ntnu.no"]
# buildMachine.maxJobs = 24 # 96 threads 1.4TB
buildMachine.maxJobs = 24 # 96 threads 1.4TB
buildMachine.speedFactor = 5 # Intel Xeon Platinum 8168 CPU @ 2.70GHz
buildMachine.supportedFeatures = [ "big-parallel" ]
# buildMachine.mandatoryFeatures = [ "big-parallel" ]