From 00dff103349b8c29e1562e1a5f58e20269168498 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 26 Apr 2018 19:22:31 +0200 Subject: [PATCH] Alertes mail Grafana --- services.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/services.nix b/services.nix index 0b7f8a6..a552345 100644 --- a/services.nix +++ b/services.nix @@ -63,6 +63,12 @@ in services.grafana.enable = true; services.grafana.addr = "127.0.0.1"; services.grafana.dataDir = "/var/lib/grafana"; + services.grafana.extraOptions = { + SERVER_ROOT_URL = "https://grafana.${domaine}"; + SMTP_ENABLED = "true"; + SMTP_FROM_ADDRESS = "grafana@${domaine}"; + SMTP_SKIP_VERIFY = "true"; + }; services.emby.enable = true; services.emby.dataDir = "/var/lib/emby/ProgramData-Server";