299 current 2025-10-11 14:41:20 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 15:30:35 -05:00
parent 11028080bb
commit 47ab6fa142

View File

@@ -36,15 +36,12 @@ in
default = true; default = true;
description = "enable backups for ${service}"; description = "enable backups for ${service}";
}; };
pages = lib.mkOption { links = {
type = lib.types.attrsOf (lib.types.submodule { mediastack = lib.mkOption {
options.description = lib.mkOption { type = lib.types.str; }; type = lib.types.listOf lib.types.attrs;
options.url = lib.mkOption { type = lib.types.str; }; default = [];
options.icon = lib.mkOption { type = lib.types.str; }; description = "list of links for ${service}";
options.category = lib.mkOption { type = lib.types.str; }; };
});
default = {};
description = "configure the service for use in ${service}";
}; };
}; };
@@ -111,17 +108,18 @@ in
type = "monitor"; type = "monitor";
cache = "1m"; cache = "1m";
title = "mediastack"; title = "mediastack";
sites = [ sites = cfg.links.mediastack;
{ title = "jellyfin"; url = "https://media.blakedheld.xyz"; icon = "di:jellyfin"; } # sites = [
{ title = "audiobookshelf"; url = "https://audiobooks.blakedheld.xyz"; icon = "di:audiobookshelf"; } # { title = "jellyfin"; url = "https://media.blakedheld.xyz"; icon = "di:jellyfin"; }
{ title = "yacreader"; url = "http://10.10.0.30:3434"; icon = "/assets/icons/yacreader.png"; } # { title = "audiobookshelf"; url = "https://audiobooks.blakedheld.xyz"; icon = "di:audiobookshelf"; }
{ title = "sonarr"; url = "http://10.10.0.30:3636"; icon = "di:sonarr"; } # { title = "yacreader"; url = "http://10.10.0.30:3434"; icon = "/assets/icons/yacreader.png"; }
{ title = "qbittorrent"; url = "http://10.10.0.40:3333"; icon = "di:qbittorrent"; } # { title = "sonarr"; url = "http://10.10.0.30:3636"; icon = "di:sonarr"; }
{ title = "radarr"; url = "http://10.10.0.30:3737"; icon = "di:radarr"; } # { title = "qbittorrent"; url = "http://10.10.0.40:3333"; icon = "di:qbittorrent"; }
{ title = "kiwix"; url = "http://10.10.0.30:5050"; icon = "di:kiwix"; } # { title = "radarr"; url = "http://10.10.0.30:3737"; icon = "di:radarr"; }
{ title = "prowlarr"; url = "http://10.10.0.30:3535"; icon = "di:prowlarr"; } # { title = "kiwix"; url = "http://10.10.0.30:5050"; icon = "di:kiwix"; }
{ title = "bazarr"; url = "http://10.10.0.30:3838"; icon = "di:bazarr"; } # { title = "prowlarr"; url = "http://10.10.0.30:3535"; icon = "di:prowlarr"; }
]; # { title = "bazarr"; url = "http://10.10.0.30:3838"; icon = "di:bazarr"; }
# ];
} }
{ {
type = "monitor"; type = "monitor";