nixos-module: configure db user

This commit is contained in:
Astro 2022-12-20 00:54:16 +01:00
parent 74017d3176
commit 6056f781f0

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 = "host=localhost dbname=${cfg.database}"; db = "host=localhost user=${cfg.user} dbname=${cfg.database}";
}); });
in in
lib.mkIf cfg.enable { lib.mkIf cfg.enable {