open firewall for monitoring

This commit is contained in:
Lzebulon 2026-01-05 19:41:31 +01:00
parent f4155bc8a8
commit c36ea77671
Signed by: lzebulon
GPG key ID: D6CDAB8050CBBE7D

View file

@ -1,4 +1,4 @@
{ ... }: { config, ... }:
{ {
services.prometheus.exporters = { services.prometheus.exporters = {
node = { node = {
@ -9,6 +9,19 @@
"--collector.softirqs" "--collector.softirqs"
"--collector.tcpstat" "--collector.tcpstat"
]; ];
openFirewall = true;
};
postgres = {
enable = config.services.postgresql.enable;
}; };
}; };
services.caddy.globalConfig = "
metrics {
per_host
}
";
} }