This commit is contained in:
Danilo Reyes 2025-09-06 13:06:40 -06:00
parent 2c3333e7e1
commit 677ab11598
2 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ in
}; };
routerip = lib.mkOption { routerip = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "192.168.1.254"; default = "192.168.100.1";
description = "The ip address of my router."; description = "The ip address of my router.";
}; };
domain = lib.mkOption { domain = lib.mkOption {
@ -53,9 +53,9 @@ in
ips = lib.mkOption { ips = lib.mkOption {
type = lib.types.attrsOf lib.types.str; type = lib.types.attrsOf lib.types.str;
default = { default = {
server = "192.168.1.69"; server = "192.168.100.15";
miniserver = "192.168.1.100"; miniserver = "192.168.1.100";
workstation = "192.168.1.64"; workstation = "192.168.100.18";
}; };
description = "Set of IP's for all my computers."; description = "Set of IP's for all my computers.";
}; };

View File

@ -18,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://192.168.1.69:42010"; MALOJA_URL = "http://192.168.100.15:42010";
PLEX_URL = "http://192.168.1.69:32400"; PLEX_URL = "http://192.168.100.15:32400";
WS_ENABLE = "true"; WS_ENABLE = "true";
}; };
volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ]; volumes = [ "${config.my.containerData}/multi-scrobbler:/config" ];