Server7: build on localhost and hydra

This commit is contained in:
Ehmry - 2020-01-18 18:49:25 +01:00
parent 9675463d96
commit b60c3cc13b
1 changed files with 14 additions and 0 deletions

View File

@ -55,6 +55,20 @@ in {
extraOptions = "experimental-features = nix-command flakes ca-references";
gc.automatic = true;
distributedBuilds = true;
buildMachines = [
{
hostName = "localhost";
system = "x86_64-linux";
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
maxJobs = 8;
}
{
hostName = "hydra.hq";
system = "x86_64-linux";
sshUser = "buildfarmer";
sshKey = "/etc/hydra.id_ed25519"; # shit is dumb
}
];
};
virtualisation.docker.enable = true;