From a970821855ae99921a65d34f1f5eec7056143068 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Thu, 14 Sep 2023 12:39:47 -0400 Subject: [PATCH] nixos/servnerr-4: nixfmt --- nixos/lib/system.nix | 2 +- nixos/servnerr-4/networking.nix | 5 +++-- nixos/servnerr-4/prometheus.nix | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/lib/system.nix b/nixos/lib/system.nix index 3320e2c..05253fe 100644 --- a/nixos/lib/system.nix +++ b/nixos/lib/system.nix @@ -121,7 +121,7 @@ in { fwupd.enable = true; prometheus.exporters.node = { enable = true; - enabledCollectors = ["ethtool" "systemd"]; + enabledCollectors = [ "ethtool" "systemd" ]; }; }; diff --git a/nixos/servnerr-4/networking.nix b/nixos/servnerr-4/networking.nix index fac7599..c24d4a9 100644 --- a/nixos/servnerr-4/networking.nix +++ b/nixos/servnerr-4/networking.nix @@ -23,9 +23,10 @@ in { }; # Tailscale readiness and DNS tweaks. - systemd.network.wait-online.ignoredInterfaces = ["ts0"]; + systemd.network.wait-online.ignoredInterfaces = [ "ts0" ]; - systemd.services.tailscaled.after = [ "network-online.target" "systemd-resolved.service" ]; + systemd.services.tailscaled.after = + [ "network-online.target" "systemd-resolved.service" ]; systemd.network = { enable = true; diff --git a/nixos/servnerr-4/prometheus.nix b/nixos/servnerr-4/prometheus.nix index 65ca20d..77d689a 100644 --- a/nixos/servnerr-4/prometheus.nix +++ b/nixos/servnerr-4/prometheus.nix @@ -101,7 +101,8 @@ in { configurationPath = builtins.fetchurl { url = "https://raw.githubusercontent.com/prometheus/snmp_exporter/1964bce321942a73f994813103ed2ca2e432039d/snmp.yml"; - sha256 = "sha256:0cshh89ijchi10iqijvmw473hhxf5cdrd1y0502wlwgw4glbis36"; + sha256 = + "sha256:0cshh89ijchi10iqijvmw473hhxf5cdrd1y0502wlwgw4glbis36"; }; }; };