Put concatMapAttrsToList in let clause

This commit is contained in:
niten 2023-09-24 14:47:46 -07:00
parent 9ff86ef7c7
commit efdaa338ee
1 changed files with 2 additions and 2 deletions

View File

@ -6,6 +6,8 @@ let
allDomains = [ cfg.domain ] ++ cfg.local-domains;
concatMapAttrsToList = f: as: concatLists (mapAttrsToList f as);
in {
options.fudo.mail.postfix = with types; {
enable = mkEnableOption "Enable Postfix SMTP server.";
@ -239,8 +241,6 @@ in {
dnsBlacklists = cfg.dns-blacklists;
concatMapAttrsToList = f: as: concatLists (mapAttrsToList f as);
mapFiles = let
writeEntries = filename: entries:
pkgs.writeText filename (concatStringsSep "\n" entries);