diff --git a/nixos/roles/default.nix b/nixos/roles/default.nix index 1968de3..3752a32 100644 --- a/nixos/roles/default.nix +++ b/nixos/roles/default.nix @@ -55,5 +55,12 @@ services = { PasswordAuthentication = false; }; }; + + prometheus.exporters.node = { + enable = true; + port = 9100; + }; }; +# Prometheus Monitoring +networking.firewall.allowedTCPPorts = [ 9100 ]; }