Merge branch 'main' of git.sr.ht:~xqtc/nixos-config

This commit is contained in:
xqtc161 2024-06-19 10:45:45 +02:00
commit 6104163689

View file

@ -20,13 +20,19 @@
enabledCollectors = ["systemd" "sysctl" "powersupplyclass"];
port = 9002;
};
wireguard = {
enable = true;
};
};
scrapeConfigs = [
{
job_name = "beleth";
static_configs = [
{
targets = ["127.0.0.1:${toString config.services.prometheus.exporters.node.port}"];
targets = [
"127.0.0.1:${toString config.services.prometheus.exporters.node.port}"
"127.0.0.1:${toString config.services.prometheus.exporters.wireguard.port}"
];
}
];
}