diff --git a/modules/server/containers/apps/homepage.nix b/modules/server/containers/apps/homepage.nix index c18d08d..c2d5736 100644 --- a/modules/server/containers/apps/homepage.nix +++ b/modules/server/containers/apps/homepage.nix @@ -16,16 +16,16 @@ let }; services = pkgs.writers.writeYAML "services.yaml" {[ - {Media = [] + [{Media = [] ++ (if (serverCfg.containers?jellyfin) then [{"Jellyfin"={ icon = "jellyfin.png"; href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}"; - };}] else [])}; - {Dev = [] + };}] else [])}]; + [{Dev = [] ++ (if (serverCfg.containers?gitea) then [{"Gitea"={ icon = "gitea.png"; href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}"; - };}] else [])}; + };}] else [])}]; # cloud = [] # ++ (if (serverCfg.containers?nextcloud) then [{ # icon = "nextcloud.png";