clouvider-lon01: enable aarch64 emulation

This commit is contained in:
Luke Granger-Brown 2023-01-17 21:49:53 +00:00
parent f8aaa89d74
commit 0583eb2f07
3 changed files with 31 additions and 1 deletions

View file

@ -10,6 +10,7 @@
../lib/minotarproxy.nix
../lib/whitby-distributed.nix
../lib/macmini-distributed.nix
../lib/oracle-lon01-distributed.nix
../lib/quotes.bfob.gg.nix
../lib/coredns/default.nix
];
@ -314,5 +315,7 @@
depot.ops.factorio.multiworld
];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
system.stateVersion = "20.09";
}

View file

@ -12,6 +12,13 @@
speedFactor = 1;
supportedFeatures = [ ];
mandatoryFeatures = [ ];
} {
hostName = "mac-mini";
system = "aarch64-darwin";
maxJobs = 4;
speedFactor = 1;
supportedFeatures = [ ];
mandatoryFeatures = [ ];
}];
nix.distributedBuilds = true;
nix.extraOptions = ''

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 = "oracle-lon01";
system = "aarch64-linux";
maxJobs = 4;
speedFactor = 1;
supportedFeatures = [ ];
mandatoryFeatures = [ ];
}];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
}