summaryrefslogtreecommitdiff
path: root/modules/soju.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
commit364e8a98ad25127f2a51696ec03729e3a783044f (patch)
tree1ac46553d1dca1259da539eddc7db100eaf5c137 /modules/soju.nix
parente2f999ec2a3dd7e9a52c7e2fadfe96976b5aee53 (diff)
2024-05-25
Diffstat (limited to 'modules/soju.nix')
-rw-r--r--modules/soju.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/soju.nix b/modules/soju.nix
index f8212b5..c64b89e 100644
--- a/modules/soju.nix
+++ b/modules/soju.nix
@@ -89,14 +89,14 @@ in
listen ircs://${cfg.address}:${toString cfg.port}
tls ${with config.certs.${cfg.domain}; "${directory}/fullchain.pem ${directory}/key.pem"}
${with cfg.prometheus; optionalString enable "listen http+prometheus://localhost:${toString port}"}
- db postgres ${
+ db postgres "${
concatStringsSep " " [
"host=/run/postgresql"
"user=${db}"
"dbname=${db}"
"sslmode=disable"
]
- }
+ }"
hostname ${cfg.domain}
title ${cfg.domain}
'';