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;
tab = "servers";
style = "row";
columns = 4;
columns = 3;
};
piracy = {
header = false;
@ -26,7 +26,7 @@
header = false;
tab = "servers";
style = "row";
columns = 3;
columns = 2;
};
"server bookmarks" = {
header = false;

View File

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

View File

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