This commit is contained in:
2025-04-17 02:08:03 -06:00
parent e3af64bf9e
commit 01755071f1

View File

@@ -1,7 +1,6 @@
{ lib, config, ... }: { lib, config, ... }:
let let
servers = config.my.servers; cfg = config.my.servers.multi-scrobbler;
cfg = servers.multi-scrobbler;
setup = import ./setup.nix { inherit lib config; }; setup = import ./setup.nix { inherit lib config; };
in in
{ {
@@ -19,8 +18,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://${config.my.servers.server.ip}:${toString servers.maloja.port}"; MALOJA_URL = "http://192.168.1.69:42010";
PLEX_URL = "http://${config.my.servers.server.ip}:${toString servers.plex.port}"; 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" ];