about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/server/grafana.nix15
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";
+      }];
+    };
   };
 }