summaryrefslogtreecommitdiff
path: root/hosts/base.nix
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-20 09:08:14 +0700
committerpolwex <polwex@sortug.com>2025-10-20 09:08:14 +0700
commit4bb8dd864cf5077018327d6f55058b87def03d45 (patch)
tree9de20852c41f2dc1582a622b1d2b9aff8e63af30 /hosts/base.nix
parentdbf3c03bd7a285d2bf3530679539f33f5c83d477 (diff)
no moar hanging
Diffstat (limited to 'hosts/base.nix')
-rw-r--r--hosts/base.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/base.nix b/hosts/base.nix
index 5a65df7..054a967 100644
--- a/hosts/base.nix
+++ b/hosts/base.nix
@@ -39,7 +39,17 @@
keep-outputs = true;
keep-derivations = true;
trusted-users = ["root" "y"];
+ max-jobs = 2;
+ cores = 16;
};
+ # buildMachines = [{
+ # hostName = "builder.lan";
+ # system = "x86_64-linux";
+ # protocol = "ssh";
+ # supportedFeatures = ["kvm" "big-parallel" "cuda"];
+
+ # }];
+ # distributedBuilds = true;
};
programs.nh = {
enable = true;