mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
darwin remote builder
This commit is contained in:
parent
c01860b021
commit
1aa23fbb17
1 changed files with 14 additions and 0 deletions
|
@ -66,7 +66,12 @@
|
|||
|
||||
boot.binfmt.emulatedSystems = [ "i686-linux" ];
|
||||
|
||||
programs.ssh.knownHosts."darwin-build-box.winter.cafe".publicKey =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB0io9E0eXiDIEHvsibXOxOPveSjUPIr1RnNKbUkw3fD";
|
||||
|
||||
|
||||
nix = {
|
||||
package = lib.mkForce pkgs.nix;
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
|
@ -75,6 +80,13 @@
|
|||
systems = [ "aarch64-linux" ];
|
||||
supportedFeatures = [ "big-parallel" ];
|
||||
}
|
||||
{
|
||||
hostName = "darwin-build-box.winter.cafe";
|
||||
maxJobs = 4;
|
||||
sshKey = "/home/julien/.ssh/id_ed25519";
|
||||
sshUser = "julienmalka";
|
||||
systems = [ "aarch64-darwin" "x86_64-darwin" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -86,6 +98,8 @@
|
|||
Port 45
|
||||
'';
|
||||
|
||||
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 1810 ];
|
||||
networking.firewall.allowedUDPPorts = [ 80 443 1810 ];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue