From 5c9ddf3c5da23171bc218c27b49b7226bcd1ee10 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Oct 2021 12:00:24 +0200 Subject: build-client: ... --- modules/build-client.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/build-client.nix b/modules/build-client.nix index 3e171897..1616918f 100644 --- a/modules/build-client.nix +++ b/modules/build-client.nix @@ -104,6 +104,9 @@ in { sops.secrets = mapAttrs' (name: hCfg: nameValuePair (secretName name) { sopsFile = ../system-profiles/build-server/clients + "/${hostName}/private"; format = "binary"; }) cfg; - nix.buildMachines = mapAttrsToList (name: hCfg: { hostName = buildHostName name; inherit (hCfg) system systems maxJobs speedFactor mandatoryFeatures supportedFeatures; }) cfg; + nix = { + distributedBuilds = true; + buildMachines = mapAttrsToList (name: hCfg: { hostName = buildHostName name; inherit (hCfg) system systems maxJobs speedFactor mandatoryFeatures supportedFeatures; }) cfg; + }; }; } -- cgit v1.2.3