Fix aliasUsers too
This commit is contained in:
parent
ccf772802e
commit
a20a80646d
|
@ -334,8 +334,9 @@ in {
|
||||||
userList = users:
|
userList = users:
|
||||||
concatStringsSep "," (map (mkEmail cfg.domain) users);
|
concatStringsSep "," (map (mkEmail cfg.domain) users);
|
||||||
in concatMapAttrsToList (alias: users:
|
in concatMapAttrsToList (alias: users:
|
||||||
concatMap
|
let userEmails = concatStringsSep "," users;
|
||||||
(domain: "${mkEmail domain alias} ${mkAliasUsers users}"));
|
in concatMap (domain: "${mkEmail domain alias} ${userEmails}")
|
||||||
|
domains);
|
||||||
in concatStringsSep "\n" ((mkUserAliases cfg.aliases.user-aliases)
|
in concatStringsSep "\n" ((mkUserAliases cfg.aliases.user-aliases)
|
||||||
++ (mkAliasUsers allDomains cfg.aliases.alias-users));
|
++ (mkAliasUsers allDomains cfg.aliases.alias-users));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue