Compare commits

..

No commits in common. "4156fb2962bbf998bd29c71a4c03572c9d48e76a" and "46f7e4333502fbd43d9cb624593c3551e62ce54d" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -3,13 +3,7 @@
with pkgs;
# NOTE Reference the environment variable set in the corresponding agenix secret
let
database = {
connection_string = "$DB_STRING";
max_open_conns = 100;
max_idle_conns = 5;
conn_max_lifetime = -1;
};
let database.connection_string = "$DB_STRING";
in {
# Matrix server configuration
@ -23,7 +17,6 @@ in {
server_name = "coolneng.duckdns.org";
private_key = config.age.secrets.dendrite.path;
inherit database;
dns_cache.enabled = true;
};
# HACK Inherit postgres connection string for the rest of the DBs
app_service_api = {

View File

@ -186,10 +186,6 @@
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
settings = {
max_connections = "300";
shared_buffers = "512MB";
};
};
# Restart reverse proxy after services startup