mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 23:40:32 +01:00
Merge branch 'main' of git.sr.ht:~xqtc/nixos-config
This commit is contained in:
commit
6104163689
|
@ -20,13 +20,19 @@
|
||||||
enabledCollectors = ["systemd" "sysctl" "powersupplyclass"];
|
enabledCollectors = ["systemd" "sysctl" "powersupplyclass"];
|
||||||
port = 9002;
|
port = 9002;
|
||||||
};
|
};
|
||||||
|
wireguard = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "beleth";
|
job_name = "beleth";
|
||||||
static_configs = [
|
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}"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue