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.
This commit is contained in:
Geoffrey Frogeye 2024-05-10 14:50:02 +02:00
parent 2a3624af09
commit 536eee36ad
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -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;
};
};
};