attempt to properly parametize multi-scrobbler
This commit is contained in:
parent
31e53e5493
commit
d9f5d476af
@ -1,6 +1,7 @@
|
|||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.my.servers.multi-scrobbler;
|
servers = config.my.servers;
|
||||||
|
cfg = servers.multi-scrobbler;
|
||||||
setup = import ./setup.nix { inherit lib config; };
|
setup = import ./setup.nix { inherit lib config; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -18,8 +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.69:42010";
|
MALOJA_URL = servers.maloja.local;
|
||||||
PLEX_URL = "http://192.168.1.69:32400";
|
PLEX_URL = servers.plex.local;
|
||||||
WS_ENABLE = "true";
|
WS_ENABLE = "true";
|
||||||
};
|
};
|
||||||
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];
|
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user