clouvider-lon01: add mac-mini as remote builder
This commit is contained in:
parent
6465f98036
commit
91f6cb3317
2 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
];
|
||||
|
|
20
ops/nixos/lib/macmini-distributed.nix
Normal file
20
ops/nixos/lib/macmini-distributed.nix
Normal 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
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue