dotfiles/nixos/boxes/brix/prometheus-node.nix
Cyryl Płotnicki 9f8d4dbf1b add agenix
2021-05-31 10:27:19 +01:00

8 lines
166 B
Nix

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