From 30be2d6417a36cf37c54c57bc4efa56583911310 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 22 Feb 2024 16:26:27 -0600 Subject: [PATCH] Add Hydra. --- nixos/este/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/este/configuration.nix b/nixos/este/configuration.nix index 458d1c1..d51db4c 100644 --- a/nixos/este/configuration.nix +++ b/nixos/este/configuration.nix @@ -32,6 +32,16 @@ settings.KbdInteractiveAuthentication = false; }; + services.hydra = { + enable = true; + hydraURL = "http://10.1.1.56:3000"; # externally visible URL + notificationSender = "hydra@localhost"; # e-mail of hydra service + # a standalone hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines + buildMachinesFiles = []; + # you will probably also want, otherwise *everything* will be built from scratch + useSubstitutes = true; + }; + # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];