diff --git a/hosts/nix-cache/configuration.nix b/hosts/nix-cache/configuration.nix index b7a5c89..d845094 100644 --- a/hosts/nix-cache/configuration.nix +++ b/hosts/nix-cache/configuration.nix @@ -22,6 +22,10 @@ locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}"; }; }; +services.prometheus.exporters.node = { + enable = true; + openFirewall = true; +}; networking.firewall.allowedTCPPorts = [ config.services.nginx.defaultHTTPListenPort ]; # Open ports in the firewall.