clouvider-lon01: enable aarch64 emulation
This commit is contained in:
parent
f8aaa89d74
commit
0583eb2f07
3 changed files with 31 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
20
ops/nixos/lib/oracle-lon01-distributed.nix
Normal file
20
ops/nixos/lib/oracle-lon01-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 = "oracle-lon01";
|
||||
system = "aarch64-linux";
|
||||
maxJobs = 4;
|
||||
speedFactor = 1;
|
||||
supportedFeatures = [ ];
|
||||
mandatoryFeatures = [ ];
|
||||
}];
|
||||
nix.distributedBuilds = true;
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue