nixos-module: reformat db config

This commit is contained in:
Astro 2022-12-20 01:04:40 +01:00
parent 7856385df0
commit 285ad182b4

View file

@ -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 {