darwin remote builder

This commit is contained in:
Julien Malka 2023-06-02 07:28:50 +02:00
parent c01860b021
commit 1aa23fbb17
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -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 ];