summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index ea1b7821..871d3e6c 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -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;