open node_exporter port to allowed tcp port on wg0

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-19 20:24:25 +01:00
parent 9c5a06400b
commit a7e818a3fb
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -30,6 +30,7 @@
];
listenAddress = (import ../utils/getInternalIP.nix config).listenIP;
};
networking.firewall.interfaces."wg0".allowedTCPPorts = [ config.service.prometheus.exporters.node.port ];
nix.buildCores = 0;