Provide something to map over
This commit is contained in:
parent
a17608509a
commit
be3234dda4
|
@ -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}")
|
||||||
|
|
Loading…
Reference in New Issue