diff --git a/hosts/nixos/lapetus/services/grafana.nix b/hosts/nixos/lapetus/services/grafana.nix index 01e5e3f..c2e9deb 100644 --- a/hosts/nixos/lapetus/services/grafana.nix +++ b/hosts/nixos/lapetus/services/grafana.nix @@ -33,17 +33,14 @@ in # {{{ Provisoning provision = { enable = true; - notifiers = [ + alerting.contactPoints.settings.contactPoints = [ + { name = "email"; } { - uid = "email"; - name = "email"; - type = "email"; - } - { - uid = "discord"; name = "discord"; - type = "discord"; - settings.webhook_url = secret "grafana_discord_webhook"; + webhook_configs = [{ + send_resolved = true; + url = secret "grafana_discord_webhook"; + }]; } ];