diff --git a/modules/server/containers/apps/homepage.nix b/modules/server/containers/apps/homepage.nix index 664d0a7..e679fe5 100644 --- a/modules/server/containers/apps/homepage.nix +++ b/modules/server/containers/apps/homepage.nix @@ -21,6 +21,11 @@ let Jellyfin={ icon = "jellyfin.png"; href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}"; + widget = { + type="jellyfin"; + url = "http://jellyfin-server:8096"; + key = "ca5bfeeb416d4ea9b0f45f2d6b1b5999"; + }; }; }) (lib.optional (serverCfg.containers?invidious) { @@ -29,6 +34,30 @@ let href = "https://${serverCfg.containers.invidious.subdomain}.${serverCfg.domain}"; }; }) + (lib.optional (serverCfg.containers?miniflux) { + RSS={ + icon = "miniflux.png"; + href = "https://${serverCfg.containers.miniflux.subdomain}.${serverCfg.domain}"; + }; + }) + ];} + {Cloud = lib.flatten [ + (lib.optional (serverCfg.containers?nextcloud) { + Nextcloud={ + icon = "nextcloud.png"; + href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}"; + widget = { + type="nextcloud"; + url = "http://nextcloud-server"; + }; + }; + }) + (lib.optional (serverCfg.containers?etherpad) { + Etherpad={ + icon = "etherpad.png"; + href = "https://${serverCfg.containers.etherpad.subdomain}.${serverCfg.domain}"; + }; + }) ];} {Dev = lib.flatten [ (lib.optional (serverCfg.containers?gitea) { @@ -38,11 +67,20 @@ let }; }) ];} - # cloud = [] - # ++ (if (serverCfg.containers?nextcloud) then [{ - # icon = "nextcloud.png"; - # href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}"; - # }] else []); + {Admin = lib.flatten [ + (lib.optional (serverCfg.containers?authentik) { + Authentik={ + icon = "authentik.png"; + href = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}"; + }; + }) + (lib.optional (serverCfg.containers?influx) { + Influx={ + icon = "influx.png"; + href = "https://${serverCfg.containers.influx.subdomain}.${serverCfg.domain}"; + }; + }) + ];} ]; in { sops = false;