diff --git a/roles/nix-community.nix b/roles/nix-community.nix new file mode 100644 index 0000000..f749450 --- /dev/null +++ b/roles/nix-community.nix @@ -0,0 +1,18 @@ +# Use the Nix community aarch64 server as a build server +# https://github.com/nix-community/aarch64-build-box + +{ + nix = { + distributedBuilds = true; + buildMachines = [ + { + hostName = "aarch64.nixos.community"; + maxJobs = 64; + sshKey = "/root/.ssh/id_nixops_ed25519"; + sshUser = "craige"; + system = "aarch64-linux"; + supportedFeatures = [ "big-parallel" ]; + } + ]; + }; +}