2021-04-09 18:14:06 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
# Distributed builds!
|
2023-01-17 21:49:53 +00:00
|
|
|
nix.buildMachines = lib.mkAfter [{
|
2021-04-09 18:14:06 +00:00
|
|
|
hostName = "mac-mini";
|
|
|
|
system = "x86_64-darwin";
|
|
|
|
maxJobs = 4;
|
|
|
|
speedFactor = 1;
|
|
|
|
supportedFeatures = [ ];
|
|
|
|
mandatoryFeatures = [ ];
|
2023-01-17 21:49:53 +00:00
|
|
|
} {
|
|
|
|
hostName = "mac-mini";
|
|
|
|
system = "aarch64-darwin";
|
|
|
|
maxJobs = 4;
|
|
|
|
speedFactor = 1;
|
|
|
|
supportedFeatures = [ ];
|
|
|
|
mandatoryFeatures = [ ];
|
2021-04-09 18:14:06 +00:00
|
|
|
}];
|
|
|
|
nix.distributedBuilds = true;
|
|
|
|
nix.extraOptions = ''
|
|
|
|
builders-use-substitutes = true
|
|
|
|
'';
|
|
|
|
}
|