From 0421a2c72cc5b25c8aae195d457a7923ff072cc1 Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 21 Mar 2026 13:28:47 +0100 Subject: [PATCH] Update Valkey to use dynamic local address binding --- nix-system-configs/modules/system/database.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix-system-configs/modules/system/database.nix b/nix-system-configs/modules/system/database.nix index a370083..d5c72c5 100644 --- a/nix-system-configs/modules/system/database.nix +++ b/nix-system-configs/modules/system/database.nix @@ -223,7 +223,8 @@ in { # You will also need to set a password unless you explicitly disable protected # mode. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bind 127.0.0.1 -::1 + # bind 127.0.0.1 -::1 + bind ${config.local.address} -::1 # By default, outgoing connections (from replica to primary, from Sentinel to # instances, cluster bus, etc.) are not bound to a specific local address. In