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:
parent
7b988b920f
commit
543ae973ba
2 changed files with 5 additions and 2 deletions
|
@ -119,7 +119,10 @@ in {
|
||||||
services = {
|
services = {
|
||||||
fstrim.enable = true;
|
fstrim.enable = true;
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
prometheus.exporters.node.enable = true;
|
prometheus.exporters.node = {
|
||||||
|
enable = true;
|
||||||
|
enabledCollectors = ["ethtool" "systemd"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue