diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 07:46:57 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-10-08 07:50:20 -0400 |
commit | 0a7e53a85abacb298f410b4ff8ca1b7ea035924c (patch) | |
tree | fa0e766d0ba360c70fd0598204bb08a5eeb9c880 | |
parent | 84a22943c6ec17291dc18fc68f392f7392083b34 (diff) |
Allow remote connections to postgesql
-rw-r--r-- | modules/bridge.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/bridge.nix b/modules/bridge.nix index c47cb4e..e494715 100644 --- a/modules/bridge.nix +++ b/modules/bridge.nix @@ -13,6 +13,10 @@ with lib; config = mkIf cfg.enable { services.postgresql = { enable = true; + enableTCPIP = true; + authentication = '' + host all all 2001:470:8e2e:1000::/64 md5 + ''; ensureDatabases = [ "bridge_nightly" ]; ensureUsers = [ { |