From 98eff8478da0a78a6d52f0812bf5a1d0a3b90d46 Mon Sep 17 00:00:00 2001 From: niten Date: Fri, 29 Sep 2023 09:19:57 -0700 Subject: [PATCH] Just...use the socket option FFS --- dkim.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dkim.nix b/dkim.nix index 350f633..52c814c 100644 --- a/dkim.nix +++ b/dkim.nix @@ -42,6 +42,7 @@ in { services.opendkim = { enable = true; selector = cfg.selector; + socket = "niten:${toString cfg.port}"; domains = let domainString = concatStringsSep "," cfg.domains; in "csl:${domainString}"; configFile = let @@ -52,7 +53,6 @@ in { ''; in pkgs.writeText "opendkim.conf" '' Canonicalization relaxed/simple - Socket inet:${toString cfg.port} ${optionalString cfg.debug debugString} ''; };