diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-28 19:41:54 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-28 19:41:54 -0800 |
commit | 8e714a6a68b4c945751579df6b15084f3c2dc339 (patch) | |
tree | 44896a0f802e16d41effe3d719e2e44c6417f902 /hosts/common | |
parent | grafana: fix (diff) | |
download | world-8e714a6a68b4c945751579df6b15084f3c2dc339.tar.gz |
grafana: setup provisioning correctly
Diffstat (limited to '')
-rw-r--r-- | hosts/common/server/grafana.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/hosts/common/server/grafana.nix b/hosts/common/server/grafana.nix index 76c1ecb..2f8e9be 100644 --- a/hosts/common/server/grafana.nix +++ b/hosts/common/server/grafana.nix @@ -7,11 +7,14 @@ addr = ""; security.adminUser = "fcuny"; - provision.datasources = [{ - name = "prometheus"; - isDefault = true; - type = "prometheus"; - url = "http://localhost:9090"; - }]; + provision = { + enable = true; + datasources = [{ + name = "prometheus"; + type = "prometheus"; + isDefault = true; + url = "http://localhost:9090"; + }]; + }; }; } |