nix: use correct env var for redis url
This commit is contained in:
parent
4e11bd2bd7
commit
9f8233709b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
REDIS_URL =
|
BOT_REDIS_URL =
|
||||||
if cfg.redisUrl == "local"
|
if cfg.redisUrl == "local"
|
||||||
then "unix:${config.services.redis.servers.refraction.unixSocket}"
|
then "unix:${config.services.redis.servers.refraction.unixSocket}"
|
||||||
else cfg.redisUrl;
|
else cfg.redisUrl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue