feat(monitoring): Add adminGroup emails #107

Merged
thubrecht merged 1 commit from :group_monitor into main 2024-05-22 19:13:10 +02:00

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;