1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib: add node exporter ethtool and systemd

This commit is contained in:
Matt Layher 2023-08-21 18:59:11 -04:00
parent 7b988b920f
commit 543ae973ba
2 changed files with 5 additions and 2 deletions

View file

@ -119,7 +119,10 @@ in {
services = {
fstrim.enable = true;
fwupd.enable = true;
prometheus.exporters.node.enable = true;
prometheus.exporters.node = {
enable = true;
enabledCollectors = ["ethtool" "systemd"];
};
};
system.autoUpgrade.enable = true;

View file

@ -250,7 +250,7 @@ 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" ];