From 7ba4a8992cde42d655be090c548b8270f4cec074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Thu, 13 May 2021 21:12:11 +0100 Subject: [PATCH] Add hydra --- configuration/default.nix | 2 ++ configuration/services/hydra.nix | 11 +++++++++++ 2 files changed, 13 insertions(+) create mode 100644 configuration/services/hydra.nix diff --git a/configuration/default.nix b/configuration/default.nix index f6ff072..bbc0205 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -3,6 +3,7 @@ { imports = [ ./services/gitea.nix + ./services/hydra.nix ./services/minecraft.nix ./services/nextcloud.nix ./services/webserver.nix @@ -66,6 +67,7 @@ "tlater.net" = host 3002 { serverAliases = [ "www.tlater.net" ]; }; "gitea.tlater.net" = host 3000 { }; "nextcloud.tlater.net" = host 3001 { }; + "hydra.tlater.net" = host config.services.hydra.port { }; }; }; diff --git a/configuration/services/hydra.nix b/configuration/services/hydra.nix new file mode 100644 index 0000000..3b7c136 --- /dev/null +++ b/configuration/services/hydra.nix @@ -0,0 +1,11 @@ +{ ... }: + +{ + services.hydra = { + enable = true; + port = 3003; + + hydraURL = "hydra.tlater.net"; + notificationSender = "hydra@tlater.net"; + }; +}