feat(monitoring): Add adminGroup emails

This commit is contained in:
catvayor 2024-05-22 19:03:07 +02:00 committed by katvayor
parent bfeaa18530
commit 2329799c87

View file

@ -16,7 +16,11 @@ let
;
emails = concatStringsSep ", " (
builtins.map (name: meta.organization.members.${name}.email) nodeMeta.admins
builtins.map (name: meta.organization.members.${name}.email) (
builtins.foldl' (
admins: group: admins ++ meta.organization.groups.${group}
) nodeMeta.admins nodeMeta.adminGroups
)
);
cfg = config.dgn-notify;