From 4922f8f7cb1c4fe3c183980d6792f1f7f3935ccd Mon Sep 17 00:00:00 2001 From: Henri Dohmen Date: Sun, 13 Jul 2025 15:46:46 +0200 Subject: [PATCH] build machine (temporarily) --- host/c2/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/host/c2/default.nix b/host/c2/default.nix index 5eace9e..cb29ff8 100644 --- a/host/c2/default.nix +++ b/host/c2/default.nix @@ -19,6 +19,30 @@ desktop.enable = true; + nix = { + buildMachines = [ + { + hostName = "noravm"; + sshUser = "nixremote"; + system = "x86_64-linux"; + protocol = "ssh-ng"; + maxJobs = 10; + speedFactor = 2; + supportedFeatures = [ + "nixos-test" + "benchmark" + "big-parallel" + "kvm" + ]; + mandatoryFeatures = [ ]; + } + ]; + distributedBuilds = true; + extraOptions = '' + builders-use-substitutes = true + ''; + }; + # ====== DON'T CHANGE ====== system.stateVersion = "25.05"; }