From c27b598b314fb93886008ab671817eef67929872 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 13 Mar 2017 16:47:30 +0100 Subject: Enable connections via tcp/ip to postgresql --- bragi.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bragi.nix b/bragi.nix index ea1b7821..871d3e6c 100644 --- a/bragi.nix +++ b/bragi.nix @@ -385,8 +385,10 @@ in rec { services.postgresql = { enable = true; + enableTCPIP = true; authentication = lib.mkForce '' local all all peer + host all all 10.141.0.0/16 md5 ''; initialScript = pkgs.writeText "schema.sql" '' CREATE USER thermoprint; -- cgit v1.2.3