Add prometheus node exporter config

This commit is contained in:
fi 2023-07-15 21:34:33 +02:00
parent b7798b7f5a
commit 7fabcb4c7e
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
3 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }:
{
imports = [
./prometheus-node-exporter.nix
../../users/colmena-deploy
../../users/yuri
];

View file

@ -0,0 +1,7 @@
{ ... }:
{
services.prometheus.exporters.node = {
enable = true;
openFirewall = true;
};
}