diff --git a/hosts/nixos/lapetus/services/grafana.nix b/hosts/nixos/lapetus/services/grafana.nix index 04cdcc1..4efc490 100644 --- a/hosts/nixos/lapetus/services/grafana.nix +++ b/hosts/nixos/lapetus/services/grafana.nix @@ -33,14 +33,17 @@ in # {{{ Provisoning provision = { enable = true; - notifiers = { - email.type = "email"; - - discord = { + notifiers = [ + { + name = "email"; + type = "email"; + } + { + name = "discord"; type = "discord"; settings.webhook_url = secret "grafana_discord_webhook"; - }; - }; + } + ]; datasources.settings.datasources = [{ name = "Prometheus";