diff --git a/hosts/x86_64-linux/beleth/monitoring.nix b/hosts/x86_64-linux/beleth/monitoring.nix index 9b28cda..bd23009 100644 --- a/hosts/x86_64-linux/beleth/monitoring.nix +++ b/hosts/x86_64-linux/beleth/monitoring.nix @@ -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}" + ]; } ]; }