summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/bragi.nix b/bragi.nix
index c4a10e83..ed60b241 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -360,9 +360,12 @@ in rec {
360 services.postgresql = { 360 services.postgresql = {
361 enable = true; 361 enable = true;
362 authentication = lib.mkForce '' 362 authentication = lib.mkForce ''
363 local sameuser all peer 363 local all all peer
364 local postgres all peer 364 '';
365 local all root,@admins peer 365 initialScript = ''
366 CREATE DATABASE thermoprint;
367 CREATE USER thermoprint;
368 GRANT ALL ON DATABASE thermoprint TO thermoprint;
366 ''; 369 '';
367 }; 370 };
368 371