attempt to properly parametize multi-scrobbler

This commit is contained in:
Danilo Reyes 2025-04-17 02:02:03 -06:00
parent 31e53e5493
commit d9f5d476af

View File

@ -1,6 +1,7 @@
{ lib, config, ... }:
let
cfg = config.my.servers.multi-scrobbler;
servers = config.my.servers;
cfg = servers.multi-scrobbler;
setup = import ./setup.nix { inherit lib config; };
in
{
@ -18,8 +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.69:42010";
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" ];