Pass domain list to map fun
This commit is contained in:
parent
8adf30eb96
commit
633dceeaa9
2
dkim.nix
2
dkim.nix
|
@ -25,7 +25,7 @@ let
|
|||
|
||||
makeKeyTable = keyDir: domains:
|
||||
pkgs.writeText "opendkim-key-table" (concatStringsSep "\n"
|
||||
(map (dom: "${dom}:mail:${keyDir}/${dom}.mail.key")));
|
||||
(map (dom: "${dom}:mail:${keyDir}/${dom}.mail.key") domains));
|
||||
|
||||
makeSigningTable = domains:
|
||||
pkgs.writeText "opendkim-signing-table"
|
||||
|
|
Loading…
Reference in New Issue