disable widget

This commit is contained in:
soraefir
2026-06-09 21:42:56 +02:00
parent 71c1b78af6
commit 849e429609

View File

@@ -91,11 +91,11 @@ let
icon = "jellyfin.png"; icon = "jellyfin.png";
href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.jellyfin.subdomain}.${serverCfg.domain}";
siteMonitor = "http://jellyfin-server:8096"; siteMonitor = "http://jellyfin-server:8096";
widget = { # widget = {
type = "jellyfin"; # type = "jellyfin";
url = "http://jellyfin-server:8096"; # url = "http://jellyfin-server:8096";
key = "{{HOMEPAGE_VAR_JELLYFIN_API}}"; # key = "{{HOMEPAGE_VAR_JELLYFIN_API}}";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? invidious) { (lib.optional (serverCfg.containers ? invidious) {
@@ -136,11 +136,11 @@ let
icon = "miniflux.png"; icon = "miniflux.png";
href = "https://${serverCfg.containers.miniflux.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.miniflux.subdomain}.${serverCfg.domain}";
siteMonitor = "http://miniflux-server:80"; siteMonitor = "http://miniflux-server:80";
widget = { # widget = {
type = "miniflux"; # type = "miniflux";
url = "http://miniflux-server"; # url = "http://miniflux-server";
key = "{{HOMEPAGE_VAR_MINIFLUX_API}}"; # key = "{{HOMEPAGE_VAR_MINIFLUX_API}}";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? suwayomi) { (lib.optional (serverCfg.containers ? suwayomi) {
@@ -148,10 +148,10 @@ let
icon = "suwayomi.png"; icon = "suwayomi.png";
href = "https://${serverCfg.containers.suwayomi.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.suwayomi.subdomain}.${serverCfg.domain}";
siteMonitor = "http://suwayomi-server:4567"; siteMonitor = "http://suwayomi-server:4567";
widget = { # widget = {
type = "suwayomi"; # type = "suwayomi";
url = "http://suwayomi-server:4567"; # url = "http://suwayomi-server:4567";
}; # };
}; };
}) })
]; ];
@@ -162,11 +162,11 @@ let
icon = "nextcloud.png"; icon = "nextcloud.png";
href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.nextcloud.subdomain}.${serverCfg.domain}";
siteMonitor = "http://nextcloud-server:80"; siteMonitor = "http://nextcloud-server:80";
widget = { # widget = {
type = "nextcloud"; # type = "nextcloud";
url = "http://nextcloud-server:80"; # url = "http://nextcloud-server:80";
key = "{{HOMEPAGE_VAR_NEXTCLOUD_API}}"; # key = "{{HOMEPAGE_VAR_NEXTCLOUD_API}}";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? ethercalc) { (lib.optional (serverCfg.containers ? ethercalc) {
@@ -195,12 +195,12 @@ let
icon = "immich.png"; icon = "immich.png";
href = "https://${serverCfg.containers.immich.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.immich.subdomain}.${serverCfg.domain}";
siteMonitor = "http://immich-server:2283"; siteMonitor = "http://immich-server:2283";
widget = { # widget = {
type = "immich"; # type = "immich";
url = "http://immich-server:2283"; # url = "http://immich-server:2283";
key = "{{HOMEPAGE_VAR_IMMICH_API}}"; # key = "{{HOMEPAGE_VAR_IMMICH_API}}";
version = "2"; # version = "2";
}; # };
}; };
}) })
]; ];
@@ -235,11 +235,11 @@ let
icon = "gitea.png"; icon = "gitea.png";
href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.gitea.subdomain}.${serverCfg.domain}";
siteMonitor = "http://gitea-server:8080"; siteMonitor = "http://gitea-server:8080";
widget = { # widget = {
type = "gitea"; # type = "gitea";
url = "http://gitea-server:8080"; # url = "http://gitea-server:8080";
key = "{{HOMEPAGE_VAR_GITEA_API}}"; # key = "{{HOMEPAGE_VAR_GITEA_API}}";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? trmnl) { (lib.optional (serverCfg.containers ? trmnl) {
@@ -257,10 +257,10 @@ let
icon = "traefik.png"; icon = "traefik.png";
href = "https://${serverCfg.containers.traefik.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.traefik.subdomain}.${serverCfg.domain}";
siteMonitor = "http://traefik-server:8080"; siteMonitor = "http://traefik-server:8080";
widget = { # widget = {
type = "traefik"; # type = "traefik";
url = "http://traefik-server:8080"; # url = "http://traefik-server:8080";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? authentik) { (lib.optional (serverCfg.containers ? authentik) {
@@ -268,12 +268,12 @@ let
icon = "authentik.png"; icon = "authentik.png";
href = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}"; href = "https://${serverCfg.containers.authentik.subdomain}.${serverCfg.domain}";
siteMonitor = "http://authentik-server:9000"; siteMonitor = "http://authentik-server:9000";
widget = { # widget = {
type = "authentik"; # type = "authentik";
url = "http://authentik-server:9000"; # url = "http://authentik-server:9000";
key = "{{HOMEPAGE_VAR_AUTHENTIK_API}}"; # key = "{{HOMEPAGE_VAR_AUTHENTIK_API}}";
version = "2"; # version = "2";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? umami) { (lib.optional (serverCfg.containers ? umami) {
@@ -302,11 +302,11 @@ let
icon = "transmission.png"; icon = "transmission.png";
href = "https://${serverCfg.containers.transmission.subdomain}.${serverCfg.domain}/transmission"; href = "https://${serverCfg.containers.transmission.subdomain}.${serverCfg.domain}/transmission";
siteMonitor = "http://transmission-server:9091"; siteMonitor = "http://transmission-server:9091";
widget = { # widget = {
type = "transmission"; # type = "transmission";
url = "http://transmission-server:9091"; # url = "http://transmission-server:9091";
rpcUrl = "/transmission/"; # rpcUrl = "/transmission/";
}; # };
}; };
}) })
(lib.optional (serverCfg.containers ? selfmark) { (lib.optional (serverCfg.containers ? selfmark) {
@@ -325,11 +325,11 @@ let
icon = "sonarr.png"; icon = "sonarr.png";
href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/sonarr"; href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/sonarr";
siteMonitor = "http://servarr-sonarr:8989/sonarr"; siteMonitor = "http://servarr-sonarr:8989/sonarr";
widget = { # widget = {
type = "sonarr"; # type = "sonarr";
url = "http://servarr-sonarr:8989/sonarr"; # url = "http://servarr-sonarr:8989/sonarr";
key = "{{HOMEPAGE_VAR_SONARR_API}}"; # key = "{{HOMEPAGE_VAR_SONARR_API}}";
}; # };
}; };
}) })
++ (lib.optional (builtins.elem "radarr" modules) { ++ (lib.optional (builtins.elem "radarr" modules) {
@@ -337,11 +337,11 @@ let
icon = "radarr.png"; icon = "radarr.png";
href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/radarr"; href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/radarr";
siteMonitor = "http://servarr-radarr:8989/radarr"; siteMonitor = "http://servarr-radarr:8989/radarr";
widget = { # widget = {
type = "radarr"; # type = "radarr";
url = "http://servarr-radarr:8989/radarr"; # url = "http://servarr-radarr:8989/radarr";
key = "{{HOMEPAGE_VAR_RADARR_API}}"; # key = "{{HOMEPAGE_VAR_RADARR_API}}";
}; # };
}; };
}) })
++ (lib.optional (builtins.elem "lidarr" modules) { ++ (lib.optional (builtins.elem "lidarr" modules) {
@@ -349,11 +349,11 @@ let
icon = "lidarr.png"; icon = "lidarr.png";
href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/lidarr"; href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/lidarr";
siteMonitor = "http://servarr-lidarr:8989/lidarr"; siteMonitor = "http://servarr-lidarr:8989/lidarr";
widget = { # widget = {
type = "lidarr"; # type = "lidarr";
url = "http://servarr-lidarr:8989/lidarr"; # url = "http://servarr-lidarr:8989/lidarr";
key = "{{HOMEPAGE_VAR_LIDARR_API}}"; # key = "{{HOMEPAGE_VAR_LIDARR_API}}";
}; # };
}; };
}) })
++ (lib.optional (builtins.elem "prowlarr" modules) { ++ (lib.optional (builtins.elem "prowlarr" modules) {
@@ -361,11 +361,11 @@ let
icon = "prowlarr.png"; icon = "prowlarr.png";
href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/prowlarr"; href = "https://${serverCfg.containers.servarr.subdomain}.${serverCfg.domain}/prowlarr";
siteMonitor = "http://servarr-prowlarr:8989/prowlarr"; siteMonitor = "http://servarr-prowlarr:8989/prowlarr";
widget = { # widget = {
type = "prowlarr"; # type = "prowlarr";
url = "http://servarr-prowlarr:8989/prowlarr"; # url = "http://servarr-prowlarr:8989/prowlarr";
key = "{{HOMEPAGE_VAR_PROWLARR_API}}"; # key = "{{HOMEPAGE_VAR_PROWLARR_API}}";
}; # };
}; };
}) })
)) ))