about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-31T16·16+0300
committerclbot <clbot@tvl.fyi>2022-01-31T16·19+0000
commit7ce377b89e1f978100e0939ac19b9e589716c41c (patch)
treea998da90dece10fb71ce9dac7f5ec9884292fbfd /users/grfn
parent120f0aa253b65eacda1220dd5ba9b1bcb01a4dcc (diff)
style(grfn/mugwump): Work around a nixpkgs-fmt bug r/3725
Change-Id: I5dd328a955446a4417b7ceb015c924ca2ebae654
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5145
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn')
-rw-r--r--users/grfn/system/system/machines/mugwump.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/users/grfn/system/system/machines/mugwump.nix b/users/grfn/system/system/machines/mugwump.nix
index a8bf91caacc0..d94d06394339 100644
--- a/users/grfn/system/system/machines/mugwump.nix
+++ b/users/grfn/system/system/machines/mugwump.nix
@@ -210,13 +210,14 @@ with lib;
       };
     };
 
-    scrapeConfigs = [{
-      job_name = "node";
-      scrape_interval = "5s";
-      static_configs = [{
-        targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
-      }];
-    }
+    scrapeConfigs = [
+      {
+        job_name = "node";
+        scrape_interval = "5s";
+        static_configs = [{
+          targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ];
+        }];
+      }
       {
         job_name = "nginx";
         scrape_interval = "5s";
@@ -256,7 +257,8 @@ with lib;
             target_label = "__address__";
             replacement = "localhost:${toString config.services.prometheus.exporters.blackbox.port}";
           }];
-      }];
+      }
+    ];
   };
 
   services.xanthous-server.enable = true;