about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/carmel/services.nix2
-rw-r--r--hosts/tahoe/services.nix22
2 files changed, 13 insertions, 11 deletions
diff --git a/hosts/carmel/services.nix b/hosts/carmel/services.nix
index e7f09dd..048a631 100644
--- a/hosts/carmel/services.nix
+++ b/hosts/carmel/services.nix
@@ -1,6 +1,6 @@
 { config, pkgs, ... }: {
   my.services = {
-    metrics-exporter = { enable = true; };
+    monitoring.node-exporter.enable = true;
     avahi = {
       enable = true;
       withReflector = true;
diff --git a/hosts/tahoe/services.nix b/hosts/tahoe/services.nix
index 8783e8c..4f3ffdb 100644
--- a/hosts/tahoe/services.nix
+++ b/hosts/tahoe/services.nix
@@ -21,18 +21,21 @@ in
       enable = true;
       vhostName = "unifi.fcuny.xyz";
     };
-    prometheus = { enable = true; };
-    grafana = {
-      enable = true;
-      vhostName = "dash.fcuny.xyz";
-    };
 
-    loki = {
-      enable = true;
-      address = "192.168.6.40";
+    monitoring = {
+      prometheus.enable = true;
+      grafana = {
+        enable = true;
+        vhostName = "dash.fcuny.xyz";
+      };
+      loki = {
+        enable = true;
+        address = "192.168.6.40";
+      };
+      promtail.enable = true;
+      node-exporter.enable = true;
     };
 
-    metrics-exporter.promtail.enable = true;
     cgit = {
       enable = true;
     };
@@ -46,7 +49,6 @@ in
       enable = true;
       vhostName = "bt.fcuny.xyz";
     };
-    metrics-exporter = { enable = true; };
     syncthing.enable = true;
     backup = {
       enable = true;