nix: use correct env var for redis url

This commit is contained in:
seth 2024-03-27 19:08:43 -04:00
parent 4e11bd2bd7
commit 9f8233709b
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

@ -96,7 +96,7 @@ in {
'';
environment = {
REDIS_URL =
BOT_REDIS_URL =
if cfg.redisUrl == "local"
then "unix:${config.services.redis.servers.refraction.unixSocket}"
else cfg.redisUrl;