From 7ce377b89e1f978100e0939ac19b9e589716c41c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 31 Jan 2022 19:16:10 +0300 Subject: style(grfn/mugwump): Work around a nixpkgs-fmt bug Change-Id: I5dd328a955446a4417b7ceb015c924ca2ebae654 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5145 Autosubmit: tazjin Tested-by: BuildkiteCI Reviewed-by: grfn --- users/grfn/system/system/machines/mugwump.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'users') 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; -- cgit 1.4.1