about summary refs log tree commit diff
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
parent2024-05-05 (diff)
2024-05-25
Diffstat (limited to '')
-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}
               '';

Consider giving Nix/NixOS a try! <3