homepage: downloaders wip

This commit is contained in:
2024-09-06 00:36:38 -06:00
parent 3d66cc60d9
commit 7b90c4297c
3 changed files with 62 additions and 21 deletions

View File

@@ -46,19 +46,22 @@ in {
services = [
{
"Multimedia" = [
{ inherit (services) Jellyfin; }
{ inherit (services) Audiobookshelf; }
{ inherit (services) JellyfinPlaying; }
{ inherit (services) Kavita; }
{ inherit (services) jellyfin; }
{ inherit (services) audiobookshelf; }
{ inherit (services) jellyfinPlaying; }
{ inherit (services) kavita; }
];
}
{
"Piracy" = [
{ inherit (services) Sonarr; }
{ inherit (services) Radarr; }
{ inherit (services) Lidarr; }
{ inherit (services) Bazarr; }
{ inherit (services) Prowlarr; }
{ inherit (services) sonarr; }
{ inherit (services) radarr; }
{ inherit (services) lidarr; }
{ inherit (services) bazarr; }
{ inherit (services) prowlarr; }
{ inherit (services) sabnzb; }
{ inherit (services) qbitMini; }
{ inherit (services) qbitServer; }
];
}
];

View File

@@ -1,5 +1,5 @@
{ config, lib, ... }: {
Audiobookshelf = lib.mkIf config.my.servers.audiobookshelf.enable {
audiobookshelf = lib.mkIf config.my.servers.audiobookshelf.enable {
icon = "${config.my.servers.audiobookshelf.name}.png";
href = config.my.servers.audiobookshelf.url;
widget = {
@@ -8,7 +8,7 @@
key = "{{HOMEPAGE_VAR_AUDIOBOOKSHELF}}";
};
};
Jellyfin = let
jellyfin = let
name = "jellyfin";
url = "https://flix.servidos.lat";
in {
@@ -23,7 +23,7 @@
enableNowPlaying = false;
};
};
JellyfinPlaying = let
jellyfinPlaying = let
name = "jellyfin";
url = "https://flix.servidos.lat";
in {
@@ -40,7 +40,7 @@
expandOneStreamToTwoRows = true;
};
};
Sonarr = let
sonarr = let
name = "sonarr";
url = "https://series.servidos.lat";
in {
@@ -53,7 +53,7 @@
enableQueue = true;
};
};
Radarr = let
radarr = let
name = "radarr";
url = "https://movies.servidos.lat";
in {
@@ -66,7 +66,7 @@
enableQueue = true;
};
};
Lidarr = let
lidarr = let
name = "lidarr";
url = "https://music.servidos.lat";
in {
@@ -78,7 +78,7 @@
key = "{{HOMEPAGE_VAR_LIDARR}}";
};
};
Prowlarr = let
prowlarr = let
name = "prowlarr";
url = "https://indexer.servidos.lat";
in {
@@ -90,7 +90,7 @@
key = "{{HOMEPAGE_VAR_PROWLARR}}";
};
};
Bazarr = let
bazarr = let
name = "bazarr";
url = "https://subs.servidos.lat";
in {
@@ -102,7 +102,7 @@
key = "{{HOMEPAGE_VAR_BAZARR}}";
};
};
Kavita = let
kavita = let
name = "kavita";
url = "https://library.servidos.lat";
in {
@@ -115,4 +115,42 @@
password = "{{HOMEPAGE_VAR_KAVITA_PASSWORD}}";
};
};
qbitServer = let
name = "qbittorrent";
url = "https://vnfx2cojmt7dwzcfmi73.servidos.lat";
in {
icon = "${name}.png";
href = url;
widget = {
type = name;
url = url;
username = "{{HOMEPAGE_VAR_QBIT_USERNAME}}";
password = "{{HOMEPAGE_VAR_QBIT_PASSWORD}}";
};
};
qbitMini = let
name = "qbittorrent";
url = "https://xfwmrle6h6skqujbeizw.servidos.lat";
in {
icon = "${name}.png";
href = url;
widget = {
type = name;
url = url;
username = "{{HOMEPAGE_VAR_QBIT_USERNAME}}";
password = "{{HOMEPAGE_VAR_QBIT_PASSWORD}}";
};
};
sabnzb = let
name = "sabnzb";
url = "https://HSoeJdGRd2Orj0n31UGI.servidos.lat";
in {
icon = "${name}.png";
href = url;
widget = {
type = name;
url = url;
key = "{{HOMEPAGE_VAR_SABNZB}}";
};
};
}