Skip to content

Commit

Permalink
builders: configure aarch64-darwin builder
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor committed Nov 4, 2024
1 parent 913388c commit 11a1fff
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions system/nix-settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,22 @@
nixpkgs.config.allowUnfree = true;
environment.sessionVariables.NIXPKGS_ALLOW_UNFREE = "1";
nixpkgs.config.android_sdk.accept_license = true;

programs.ssh.knownHosts."darwin-build-box.nix-community.org".publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPNYA89te+z3gMlU3QOWn+5cjw2GDCTf5QCXM3QANyN0 Nix Com Darwin";

nix = {
distributedBuilds = true;
buildMachines = [
{
# https://nix-community.org/community-builder/
hostName = "darwin-build-box.nix-community.org";
maxJobs = 64;
sshKey = "/root/.ssh/id_ed25519_nix_com";
sshUser = "johnrtitor";
system = "aarch64-darwin";
supportedFeatures = [ "big-parallel" "nixos-test" "benchmark" ];
}
];
};
}

0 comments on commit 11a1fff

Please sign in to comment.