dotfiles/nixos/boxes/bolty/prometheus-node.nix
Cyryl Płotnicki 3d6dd759c4 nixfmt
2022-03-10 12:25:23 +00:00

7 lines
166 B
Nix

{ config, pkgs, lib, ... }: {
networking.firewall.allowedTCPPorts = [ 9100 ];
services.prometheus = {
enable = true;
exporters.node.enable = true;
};
}