Oops, fair, map over aliases
This commit is contained in:
parent
19653b73f8
commit
ccf772802e
|
@ -328,7 +328,7 @@ in {
|
||||||
virtual = let
|
virtual = let
|
||||||
mkEmail = domain: user: "${user}@${domain}";
|
mkEmail = domain: user: "${user}@${domain}";
|
||||||
mkUserAliases = concatMapAttrsToList (user: aliases:
|
mkUserAliases = concatMapAttrsToList (user: aliases:
|
||||||
map (alias: "${alias} ${mkEmail cfg.domain user}"));
|
map (alias: "${alias} ${mkEmail cfg.domain user}") aliases);
|
||||||
mkAliasUsers = domains:
|
mkAliasUsers = domains:
|
||||||
let
|
let
|
||||||
userList = users:
|
userList = users:
|
||||||
|
|
Loading…
Reference in New Issue