From b60c3cc13b34414bdc346e4979d7486c0455f53e Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sat, 18 Jan 2020 18:49:25 +0100 Subject: [PATCH] Server7: build on localhost and hydra --- hosts/server7/configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/server7/configuration.nix b/hosts/server7/configuration.nix index 7e6fdf30..57a4193f 100644 --- a/hosts/server7/configuration.nix +++ b/hosts/server7/configuration.nix @@ -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;