diff options
-rw-r--r-- | bragi.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -385,8 +385,10 @@ in rec { | |||
385 | 385 | ||
386 | services.postgresql = { | 386 | services.postgresql = { |
387 | enable = true; | 387 | enable = true; |
388 | enableTCPIP = true; | ||
388 | authentication = lib.mkForce '' | 389 | authentication = lib.mkForce '' |
389 | local all all peer | 390 | local all all peer |
391 | host all all 10.141.0.0/16 md5 | ||
390 | ''; | 392 | ''; |
391 | initialScript = pkgs.writeText "schema.sql" '' | 393 | initialScript = pkgs.writeText "schema.sql" '' |
392 | CREATE USER thermoprint; | 394 | CREATE USER thermoprint; |