Just...use the socket option FFS

This commit is contained in:
niten 2023-09-29 09:19:57 -07:00
parent 7112e4722a
commit 98eff8478d
1 changed files with 1 additions and 1 deletions

View File

@ -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}
'';
};