clouvider-lon01: add mac-mini as remote builder

This commit is contained in:
Luke Granger-Brown 2021-04-09 18:14:06 +00:00
parent 6465f98036
commit 91f6cb3317
2 changed files with 21 additions and 0 deletions

View file

@ -13,6 +13,7 @@ in {
../lib/zfs.nix
../lib/bgp.nix
../lib/whitby-distributed.nix
../lib/macmini-distributed.nix
../lib/quotes.bfob.gg.nix
../lib/coredns/default.nix
];

View file

@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ lib, ... }:
{
# Distributed builds!
nix.buildMachines = lib.mkAfter [ {
hostName = "mac-mini";
system = "x86_64-darwin";
maxJobs = 4;
speedFactor = 1;
supportedFeatures = [ ];
mandatoryFeatures = [ ];
}];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
}