diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index 8627a76..6cb0863 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -111,6 +111,18 @@ grafana = { enable = true; + provision = { + enable = true; + datasources.settings = { + apiVersion = 1; + datasources = [{ + name = "Prometheus"; + type = "prometheus"; + access = "proxy"; + url = "http://127.0.0.1:${toString config.services.prometheus.port}"; + }]; + }; + }; settings = { server = { # TODO tailscale service?