From 995bef057fb1d0e2b452935d66390b4cb33b2f10 Mon Sep 17 00:00:00 2001 From: uku Date: Wed, 28 May 2025 09:34:03 +0200 Subject: [PATCH] fix(mottarone): make pg_hba not annoying --- systems/mottarone/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/systems/mottarone/default.nix b/systems/mottarone/default.nix index 24173c8..6fed6aa 100644 --- a/systems/mottarone/default.nix +++ b/systems/mottarone/default.nix @@ -59,7 +59,14 @@ in }; }; - postgresql.enable = true; + postgresql = { + enable = true; + authentication = '' + local all postgres peer + local all leo peer + local all all md5 + ''; + }; pgadmin = { enable = true; initialEmail = "hi@uku.moe";