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";