20 lines
447 B
Nix
20 lines
447 B
Nix
# 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
|
|
'';
|
|
}
|