From 285ad182b4edf290c143c962dfe15862ba58b4ed Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 20 Dec 2022 01:04:40 +0100 Subject: [PATCH] nixos-module: reformat db config --- nixos-module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-module.nix b/nixos-module.nix index ef471f4..2302b0a 100644 --- a/nixos-module.nix +++ b/nixos-module.nix @@ -38,7 +38,7 @@ listen_port = cfg.listenPort; priv_key_file = cfg.privKeyFile; pub_key_file = cfg.pubKeyFile; - db = "dbname=${cfg.database}"; + db = "postgres://${cfg.user}@localhost/${cfg.database}"; }); in lib.mkIf cfg.enable {