Created
June 4, 2020 21:57
-
-
Save lovesegfault/2dff4e80676c514ea7d5d4b65d317ea1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: { | |
secrets.files.stcg-aarch64-builder-key.file = pkgs.mkSecret ../secrets/stcg-aarch64-builder.key; | |
nix = { | |
distributedBuilds = true; | |
buildMachines = [ | |
{ | |
hostName = "147.75.47.54"; | |
maxJobs = 32; | |
speedFactor = 1; | |
sshKey = config.secrets.files.stcg-aarch64-builder-key; | |
sshUser = "bemeurer"; | |
system = "aarch64-linux"; | |
supportedFeatures = [ "big-parallel" ]; | |
} | |
]; | |
extraOptions = '' | |
builders-use-substitutes = true | |
''; | |
}; | |
programs.ssh.knownHosts.stcg-aarch64-builder = { | |
hostNames = [ "147.75.47.54" ]; | |
publicKey = | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBu4po2uc2f53/X3dC+kb+JeJ+HFh5/vKI1ZAYGpG5Yp"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment