summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/build-client.nix5
1 files changed, 4 insertions, 1 deletions
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 {
104 104
105 sops.secrets = mapAttrs' (name: hCfg: nameValuePair (secretName name) { sopsFile = ../system-profiles/build-server/clients + "/${hostName}/private"; format = "binary"; }) cfg; 105 sops.secrets = mapAttrs' (name: hCfg: nameValuePair (secretName name) { sopsFile = ../system-profiles/build-server/clients + "/${hostName}/private"; format = "binary"; }) cfg;
106 106
107 nix.buildMachines = mapAttrsToList (name: hCfg: { hostName = buildHostName name; inherit (hCfg) system systems maxJobs speedFactor mandatoryFeatures supportedFeatures; }) cfg; 107 nix = {
108 distributedBuilds = true;
109 buildMachines = mapAttrsToList (name: hCfg: { hostName = buildHostName name; inherit (hCfg) system systems maxJobs speedFactor mandatoryFeatures supportedFeatures; }) cfg;
110 };
108 }; 111 };
109} 112}