aboutsummaryrefslogtreecommitdiff
path: root/virtual/modules/websites/tools/mastodon/mastodon.nix
diff options
context:
space:
mode:
Diffstat (limited to 'virtual/modules/websites/tools/mastodon/mastodon.nix')
-rw-r--r--virtual/modules/websites/tools/mastodon/mastodon.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/virtual/modules/websites/tools/mastodon/mastodon.nix b/virtual/modules/websites/tools/mastodon/mastodon.nix
index cb8bfc8..e6b396b 100644
--- a/virtual/modules/websites/tools/mastodon/mastodon.nix
+++ b/virtual/modules/websites/tools/mastodon/mastodon.nix
@@ -64,9 +64,9 @@ let
64 buildInputs = [ yarnModules gems ]; 64 buildInputs = [ yarnModules gems ];
65 }); 65 });
66 config = writeText "mastodon_environment" '' 66 config = writeText "mastodon_environment" ''
67 REDIS_HOST=localhost 67 REDIS_HOST=${env.redis.host}
68 REDIS_PORT=6379 68 REDIS_PORT=${env.redis.port}
69 REDIS_DB=13 69 REDIS_DB=${env.redis.db}
70 DB_HOST=/run/postgresql 70 DB_HOST=/run/postgresql
71 DB_USER=mastodon 71 DB_USER=mastodon
72 DB_NAME=mastodon 72 DB_NAME=mastodon