From 4345e9f0e25d81aea8db0bd6fd0beb24a1e1c0ab Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sat, 20 Dec 2025 20:33:31 +0000 Subject: [PATCH] listen --- profiles/postgresql.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/postgresql.nix b/profiles/postgresql.nix index 9f25a07..7919b32 100644 --- a/profiles/postgresql.nix +++ b/profiles/postgresql.nix @@ -1,10 +1,10 @@ -{pkgs, ...}: { +{lib, pkgs, ...}: { services.postgresql = { enable = true; package = pkgs.postgresql_18; settings = { - listen_addresses = "*"; + listen_addresses = lib.mkForce "*"; wal_level = "logical"; archive_mode = "on"; archive_command = "${pkgs.pgbackrest}/bin/pgbackrest --stanza=main archive-push %p";