From 2825322035209a33e9dab211ef2a9e2914f976ab Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 13 Jan 2024 13:14:25 +0300 Subject: [PATCH] Bind kresd and redis to :: --- hosts/cube/mail.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/cube/mail.nix b/hosts/cube/mail.nix index 7c7fc4c..c792535 100644 --- a/hosts/cube/mail.nix +++ b/hosts/cube/mail.nix @@ -1,4 +1,4 @@ -{ config, ulib, ... }: with ulib; +{ config, lib, ulib, ... }: with ulib; let inherit (config.networking) domain; @@ -47,6 +47,9 @@ in serverSystemConfiguration { }]; }]; + services.kresd.listenPlain = lib.mkForce [ "[::]:53" "0.0.0.0:53" ]; + services.redis.servers.rspamd.bind = "0.0.0.0"; + mailserver = enabled { inherit fqdn;