From 536eee36adb94c445087bd12637fda07e64ea35e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Fri, 10 May 2024 14:50:02 +0200 Subject: [PATCH] remote-builds: Disable by default It makes things slower and my server unresponsive sometimes. Probably more work to be done but I don't feel like doing that now. --- os/remote-builds/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/remote-builds/default.nix b/os/remote-builds/default.nix index c513c4f..d4d583c 100644 --- a/os/remote-builds/default.nix +++ b/os/remote-builds/default.nix @@ -43,11 +43,11 @@ in }; nix = { buildMachines = builtins.map (vivariumBuilder: vivariumBuilderDefault // vivariumBuilder) vivariumBuilders; - distributedBuilds = true; + distributedBuilds = false; settings = { builders-use-substitutes = true; trusted-public-keys = publicKeys; - substituters = builtins.map (builder: "${builder.protocol}://${builder.sshUser}@${builder.hostName}") config.nix.buildMachines; + trusted-substituters = builtins.map (builder: "${builder.protocol}://${builder.sshUser}@${builder.hostName}") config.nix.buildMachines; }; }; };