From bec314b3d0cca4ba200095ba64f6465f9e6a30df Mon Sep 17 00:00:00 2001 From: flop Date: Sun, 5 Jul 2026 20:21:24 +0200 Subject: [PATCH] feat: add services --- flake.nix | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 6098082..57766e7 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,9 @@ # gatus_health health-check path monitored by gatus (e.g. "/health"). # Leave empty/unset to hide this host from the status page. vhosts = { + "${domain}" = { + description = "Website"; + }; "auth.${domain}" = { description = "Keycloak"; ports = {"http" = 8080; }; @@ -60,7 +63,7 @@ }; "pad.${domain}" = { # TODO: not implemented (hidden from gatus until gatus_health is set) - description = "HedgeDoc"; + description = "HedgeDoc (Pad)"; ports = {"http" = 3001; "httpws" = 3001; }; websockets = true; }; @@ -69,6 +72,15 @@ ports = { "http" = 3000; "ssh" = 22; }; gatus_health = "/"; }; + "tickets.${domain}" = { + description = "Pretix"; + }; + "cfp.${domain}" = { + description = "Pretalx"; + }; + "matrix.${domain}" = { + description = "Matrix"; + }; }; baseArgs = { @@ -89,10 +101,17 @@ ] ++ sharedModules; }; - status.domain.com = nixpkgs.lib.nixosSystem { + deploy.domain.com = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = baseArgs // { - domains = [ "pad.${domain}" "git.${domain}" ]; + domains = [ + "${domain}" + "pad.${domain}" + "git.${domain}" + "tickets.${domain}" + "cfp.${domain}" + "matrix.${domain}" + ]; }; modules = [ ./machines/status.domain.com/configuration.nix