From e57363be151a076509629aa6a91c6affccd6d010 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 10 Jul 2025 01:56:34 +0200 Subject: [PATCH] nixos/postfix-tlspol: fix default settings and config reload Reloading was insufficient for changing the dns resolver address, so we make config changes a restart trigger instead. --- nixos/modules/services/mail/postfix-tlspol.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/mail/postfix-tlspol.nix b/nixos/modules/services/mail/postfix-tlspol.nix index dd49700734df..a44ccbdba652 100644 --- a/nixos/modules/services/mail/postfix-tlspol.nix +++ b/nixos/modules/services/mail/postfix-tlspol.nix @@ -90,7 +90,7 @@ in }; dns = { - server = mkOption { + address = mkOption { type = types.str; default = "127.0.0.1:53"; description = '' @@ -173,7 +173,7 @@ in description = "Postfix DANE/MTA-STS TLS policy socketmap service"; documentation = [ "https://github.com/Zuplu/postfix-tlspol" ]; - reloadTriggers = [ configFile ]; + restartTriggers = [ configFile ]; # https://github.com/Zuplu/postfix-tlspol/blob/main/init/postfix-tlspol.service serviceConfig = {