url adjustments for migrated servers

This commit is contained in:
Danilo Reyes 2025-04-17 01:52:33 -06:00
parent cf1b0bc02c
commit 055603e403
3 changed files with 6 additions and 8 deletions

View File

@ -14,7 +14,7 @@
header = false; header = false;
tab = "servers"; tab = "servers";
style = "row"; style = "row";
columns = 4; columns = 3;
}; };
piracy = { piracy = {
header = false; header = false;
@ -26,7 +26,7 @@
header = false; header = false;
tab = "servers"; tab = "servers";
style = "row"; style = "row";
columns = 3; columns = 2;
}; };
"server bookmarks" = { "server bookmarks" = {
header = false; header = false;

View File

@ -12,7 +12,6 @@ in
{ {
multimedia = [ multimedia = [
{ inherit (services) plex; } { inherit (services) plex; }
{ inherit (services) jellyfin; }
{ inherit (services) audiobookshelf; } { inherit (services) audiobookshelf; }
{ inherit (services) kavita; } { inherit (services) kavita; }
]; ];
@ -26,12 +25,11 @@ in
{ inherit (services) prowlarr; } { inherit (services) prowlarr; }
{ inherit (services) sabnzbd; } { inherit (services) sabnzbd; }
{ inherit (services) "qbittorrent server"; } { inherit (services) "qbittorrent server"; }
{ inherit (services) "qbittorrent miniserver"; }
]; ];
} }
{ {
main = [ main = [
{ inherit (services) nextcloud; } # { inherit (services) nextcloud; }
{ inherit (services) mealie; } { inherit (services) mealie; }
{ inherit (services) paperless; } { inherit (services) paperless; }
]; ];

View File

@ -2,6 +2,7 @@
let let
cfg = config.my.servers.multi-scrobbler; cfg = config.my.servers.multi-scrobbler;
setup = import ./setup.nix { inherit lib config; }; setup = import ./setup.nix { inherit lib config; };
servers = config.my.servers;
in in
{ {
options.my.servers.multi-scrobbler = setup.mkOptions "multi-scrobbler" "scrobble" 9078; options.my.servers.multi-scrobbler = setup.mkOptions "multi-scrobbler" "scrobble" 9078;
@ -18,9 +19,8 @@ in
PGID = toString config.users.groups.users.gid; PGID = toString config.users.groups.users.gid;
BASE_URL = cfg.url; BASE_URL = cfg.url;
DEEZER_REDIRECT_URI = "http://${config.my.ips.${cfg.hostName}}:${toString cfg.port}/deezer/callback"; DEEZER_REDIRECT_URI = "http://${config.my.ips.${cfg.hostName}}:${toString cfg.port}/deezer/callback";
MALOJA_URL = "http://192.168.1.100:42010"; MALOJA_URL = servers.maloja.local;
JELLYFIN_URL = "http://192.168.1.69:8096"; PLEX_URL = servers.plex.local;
PLEX_URL = "http://192.168.1.69:32400";
WS_ENABLE = "true"; WS_ENABLE = "true";
}; };
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ]; volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];