From 5d979d072034718d22beb2527555f9dbd21c8b5f Mon Sep 17 00:00:00 2001 From: soraefir Date: Sun, 31 May 2026 20:09:56 +0200 Subject: [PATCH] add services --- modules/server/containers/apps/homepage.nix | 31 ++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/modules/server/containers/apps/homepage.nix b/modules/server/containers/apps/homepage.nix index 84d75bf..dbe224f 100644 --- a/modules/server/containers/apps/homepage.nix +++ b/modules/server/containers/apps/homepage.nix @@ -81,6 +81,18 @@ let href = "https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.domain}"; }; }) + (lib.optional (serverCfg.containers?immich) { + immich={ + icon = "immich.png"; + href = "https://${serverCfg.containers.immich.subdomain}.${serverCfg.domain}"; + widget = { + type="immich"; + url = "http://immich-server:80"; + key = "{{HOMEPAGE_VAR_IMMICH_API}}"; + version = "2"; + }; + }; + }) ];} {Dev = lib.flatten [ (lib.optional (serverCfg.containers?gitea) { @@ -99,7 +111,16 @@ let #({permissions.groups = ["admin"];}) #({services = lib.flatten [ - + (lib.optional (serverCfg.containers?traefik) { + Traefik={ + icon = "traefik.png"; + href = "https://${serverCfg.containers.traefik.subdomain}.${serverCfg.domain}"; + widget = { + type = "traefik"; + url = "http://traefik-server:8080"; + }; + }; + }) (lib.optional (serverCfg.containers?authentik) { Authentik={ icon = "authentik.png"; @@ -112,6 +133,12 @@ let }; }; }) + (lib.optional (serverCfg.containers?umami) { + Umami={ + icon = "umami.png"; + href = "https://${serverCfg.containers.umami.subdomain}.${serverCfg.domain}"; + }; + }) (lib.optional (serverCfg.containers?influx) { Influx={ icon = "influx.png"; @@ -184,6 +211,8 @@ let }; }; }) + # Bazarr + )) ];}#)];} ];