X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=virtual%2Fmodules%2Fwebsites%2Ftools%2Fmastodon%2Fmastodon.nix;h=770aa2cb5b584cf3157ae92a7116206a4a032c85;hp=e6b396bbf927f3b6a738343998f4af5c14c8c31d;hb=6f4574e7b57043340a2a520c4bbeb17dde72e0ea;hpb=b0781dbc85da7bba5a3a9209ca4d3b3900eea7b5 diff --git a/virtual/modules/websites/tools/mastodon/mastodon.nix b/virtual/modules/websites/tools/mastodon/mastodon.nix index e6b396b..770aa2c 100644 --- a/virtual/modules/websites/tools/mastodon/mastodon.nix +++ b/virtual/modules/websites/tools/mastodon/mastodon.nix @@ -67,11 +67,11 @@ let REDIS_HOST=${env.redis.host} REDIS_PORT=${env.redis.port} REDIS_DB=${env.redis.db} - DB_HOST=/run/postgresql - DB_USER=mastodon - DB_NAME=mastodon + DB_HOST=${env.postgresql.socket} + DB_USER=${env.postgresql.user} + DB_NAME=${env.postgresql.database} DB_PASS=${env.postgresql.password} - DB_PORT=5432 + DB_PORT=${env.postgresql.port} LOCAL_DOMAIN=mastodon.immae.eu LOCAL_HTTPS=true