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; listen_port = cfg.listenPort;
priv_key_file = cfg.privKeyFile; priv_key_file = cfg.privKeyFile;
pub_key_file = cfg.pubKeyFile; pub_key_file = cfg.pubKeyFile;
db = "dbname=${cfg.database}"; db = "postgres://${cfg.user}@localhost/${cfg.database}";
}); });
in in
lib.mkIf cfg.enable { lib.mkIf cfg.enable {