Files
nixos-router/modules/router/default.nix
T
nilsandClaude Sonnet 5.5 6e23d183fc Add Prometheus metrics: /metrics, node_exporter and a page for it
The web UI serves the router's own state at /metrics (token needed);
router.metrics.nodeExporter runs node_exporter for the machine's and opens
its port only to the zones named. The Prometheus page edits those settings
and shows the scrape configuration.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 11:30:02 +01:00

18 lines
250 B
Nix

{
imports = [
./options.nix
./assertions.nix
./networking.nix
./pppoe.nix
./wireguard.nix
./firewall.nix
./dhcp.nix
./dns.nix
./ddns.nix
./acme.nix
./rollback.nix
./metrics.nix
./power.nix
];
}