From f864f543b8b297ea36b21a1b2ee7bf0cc8e75d43 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 5 May 2024 19:39:35 +0200 Subject: [PATCH] hosts: dmz: enable hydra --- modules/services/dmz/default.nix | 1 + modules/services/dmz/hydra.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/services/dmz/hydra.nix diff --git a/modules/services/dmz/default.nix b/modules/services/dmz/default.nix index f52062b..ed60703 100644 --- a/modules/services/dmz/default.nix +++ b/modules/services/dmz/default.nix @@ -12,6 +12,7 @@ [ ./microvm.nix + ./hydra.nix ] # picom, polybar and sxhkd are pulled from desktop module diff --git a/modules/services/dmz/hydra.nix b/modules/services/dmz/hydra.nix new file mode 100644 index 0000000..15304f9 --- /dev/null +++ b/modules/services/dmz/hydra.nix @@ -0,0 +1,12 @@ +{ lib, config, pkgs, ... }: + +{ + services.hydra = { + enable = true; + port = true; + hydraURL = "http://localhost:3000"; + notificationSender = "hydra@localhost"; + useSubstitutes = true; + }; + +}