mirror of
https://github.com/astro/buzzrelay.git
synced 2024-11-25 05:20:59 +00:00
nixos-module: hack db config
This commit is contained in:
parent
285ad182b4
commit
95177a63d3
1 changed files with 1 additions and 1 deletions
|
@ -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 = "postgres://${cfg.user}@localhost/${cfg.database}";
|
db = "host=/var/run/postgresql user=${cfg.user} dbname=${cfg.database}";
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
|
|
Loading…
Reference in a new issue