summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-02 12:00:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-02 12:00:24 +0200
commit5c9ddf3c5da23171bc218c27b49b7226bcd1ee10 (patch)
treecb482960ff8e82da14669b4228638b094ea03f5c
parent5afb1da1578ed4b77a11613c246b87c607e32a19 (diff)
downloadnixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar
nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.gz
nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.bz2
nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.xz
nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.zip
build-client: ...
-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}