dotfiles/nixos/boxes/bolty/prometheus-node.nix

13 lines
172 B
Nix
Raw Normal View History

2022-12-19 09:09:08 +00:00
{
config,
pkgs,
lib,
...
}: {
networking.firewall.allowedTCPPorts = [9100];
2021-05-31 09:15:44 +01:00
services.prometheus = {
enable = true;
exporters.node.enable = true;
};
}