Update hosts/nix-cache/configuration.nix

This commit is contained in:
2026-02-09 10:05:23 +00:00
parent 56a25ab5d7
commit 7ab8cf15ca

View File

@@ -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.