nixos-servers/services/monitoring/pve.nix

18 lines
369 B
Nix
Raw Normal View History

2024-12-03 17:01:48 +00:00
{ config, ... }:
{
sops.secrets.pve_exporter = {
format = "yaml";
sopsFile = ../../secrets/monitoring01/pve-exporter.yaml;
key = "";
mode = "0444";
};
services.prometheus.exporters.pve = {
enable = true;
configFile = config.sops.secrets.pve_exporter.path;
collectors = {
cluster = false;
replication = false;
};
};
}