Specify a directory, I guess

This commit is contained in:
niten 2023-09-28 15:45:43 -07:00
parent 82ed2df2b3
commit f44d04e16b
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ let
concatStringsSep "\n" (map (ensureDomainDkimCert keyDir) domains);
makeKeyTable = keyDir: domains:
pkgs.writeTextDir "key.table" (concatStringsSep "\n"
pkgs.writeTextDir "dkim-tables/key.table" (concatStringsSep "\n"
(map (dom: "${dom}:mail:${keyDir}/${dom}.mail.key") domains));
makeSigningTable = domains:
pkgs.writeText "signing.table"
pkgs.writeText "dkim-tables/signing.table"
(concatStringsSep "\n" (map (dom: "${dom} ${dom}") domains));
keyTable = makeKeyTable cfg.state-directory cfg.domains;