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

9 lines
166 B
Nix
Raw Normal View History

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