Provide something to map over

This commit is contained in:
niten 2023-10-13 17:58:31 -07:00
parent a17608509a
commit be3234dda4
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ in {
defaultMaps = defaultMaps =
map (domain: "/^(.*)@${escapeDot domain}$/ \${1}") allDomains; map (domain: "/^(.*)@${escapeDot domain}$/ \${1}") allDomains;
userAliasMaps = concatMapAttrsToList (username: userAliases: userAliasMaps = concatMapAttrsToList (username: userAliases:
map (alias: "/^${escapeDot alias}$/ ${username}")) map (alias: "/^${escapeDot alias}$/ ${username}") userAliases)
cfg.aliases.user-aliases; cfg.aliases.user-aliases;
aliasUserMaps = mapAttrsToList (alias: users: aliasUserMaps = mapAttrsToList (alias: users:
"/^${escapeDot alias}$/ ${concatStringsSep "," users}") "/^${escapeDot alias}$/ ${concatStringsSep "," users}")