From 10e188c5a93bbdd4eb1ce9521175468bec428112 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Mon, 28 Apr 2025 22:07:37 +0200 Subject: [PATCH] hydra: set localhost to use protocol null --- systems/x86_64-linux/loptland/default.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/loptland/default.nix b/systems/x86_64-linux/loptland/default.nix index 71128ae..785d616 100644 --- a/systems/x86_64-linux/loptland/default.nix +++ b/systems/x86_64-linux/loptland/default.nix @@ -143,12 +143,29 @@ in certificateScheme = "acme-nginx"; }; + nix = { + distributedBuilds = true; + + buildMachines = [ + { + hostName = "localhost"; + protocol = null; + system = "x86_64-linux"; + supportedFeatures = [ + "kvm" + "nixos-test" + "big-parallel" + "benchmark" + ]; + } + ]; + }; + services.hydra = { enable = true; hydraURL = "http://localhost:${toString hydraPort}"; port = hydraPort; notificationSender = "hydra@localhost"; - buildMachinesFiles = [ ]; useSubstitutes = true; };