mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
nixos/servnerr-4: nixfmt
This commit is contained in:
parent
1d614cda34
commit
a970821855
3 changed files with 6 additions and 4 deletions
|
@ -121,7 +121,7 @@ in {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
prometheus.exporters.node = {
|
prometheus.exporters.node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enabledCollectors = ["ethtool" "systemd"];
|
enabledCollectors = [ "ethtool" "systemd" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tailscale readiness and DNS tweaks.
|
# 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 = {
|
systemd.network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -101,7 +101,8 @@ in {
|
||||||
configurationPath = builtins.fetchurl {
|
configurationPath = builtins.fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://raw.githubusercontent.com/prometheus/snmp_exporter/1964bce321942a73f994813103ed2ca2e432039d/snmp.yml";
|
"https://raw.githubusercontent.com/prometheus/snmp_exporter/1964bce321942a73f994813103ed2ca2e432039d/snmp.yml";
|
||||||
sha256 = "sha256:0cshh89ijchi10iqijvmw473hhxf5cdrd1y0502wlwgw4glbis36";
|
sha256 =
|
||||||
|
"sha256:0cshh89ijchi10iqijvmw473hhxf5cdrd1y0502wlwgw4glbis36";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue