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/minotarproxy.nix
|
||||||
../lib/whitby-distributed.nix
|
../lib/whitby-distributed.nix
|
||||||
../lib/macmini-distributed.nix
|
../lib/macmini-distributed.nix
|
||||||
|
../lib/oracle-lon01-distributed.nix
|
||||||
../lib/quotes.bfob.gg.nix
|
../lib/quotes.bfob.gg.nix
|
||||||
../lib/coredns/default.nix
|
../lib/coredns/default.nix
|
||||||
];
|
];
|
||||||
|
@ -314,5 +315,7 @@
|
||||||
depot.ops.factorio.multiworld
|
depot.ops.factorio.multiworld
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,13 +5,20 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
# Distributed builds!
|
# Distributed builds!
|
||||||
nix.buildMachines = lib.mkAfter [ {
|
nix.buildMachines = lib.mkAfter [{
|
||||||
hostName = "mac-mini";
|
hostName = "mac-mini";
|
||||||
system = "x86_64-darwin";
|
system = "x86_64-darwin";
|
||||||
maxJobs = 4;
|
maxJobs = 4;
|
||||||
speedFactor = 1;
|
speedFactor = 1;
|
||||||
supportedFeatures = [ ];
|
supportedFeatures = [ ];
|
||||||
mandatoryFeatures = [ ];
|
mandatoryFeatures = [ ];
|
||||||
|
} {
|
||||||
|
hostName = "mac-mini";
|
||||||
|
system = "aarch64-darwin";
|
||||||
|
maxJobs = 4;
|
||||||
|
speedFactor = 1;
|
||||||
|
supportedFeatures = [ ];
|
||||||
|
mandatoryFeatures = [ ];
|
||||||
}];
|
}];
|
||||||
nix.distributedBuilds = true;
|
nix.distributedBuilds = true;
|
||||||
nix.extraOptions = ''
|
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