diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-02 12:00:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-02 12:00:24 +0200 |
commit | 5c9ddf3c5da23171bc218c27b49b7226bcd1ee10 (patch) | |
tree | cb482960ff8e82da14669b4228638b094ea03f5c /modules | |
parent | 5afb1da1578ed4b77a11613c246b87c607e32a19 (diff) | |
download | nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.gz nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.bz2 nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.tar.xz nixos-5c9ddf3c5da23171bc218c27b49b7226bcd1ee10.zip |
build-client: ...
Diffstat (limited to 'modules')
-rw-r--r-- | modules/build-client.nix | 5 |
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 | } |