url adjustments for migrated servers

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

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" ];