Fix aliasUsers too

This commit is contained in:
niten 2023-10-09 21:17:32 -07:00
parent ccf772802e
commit a20a80646d
1 changed files with 3 additions and 2 deletions

View File

@ -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));