Remove hardcoded defaults and migrate dashboard config to NixOS

- Remove all unused configuration options from dashboard config module
- Eliminate hardcoded defaults - dashboard now requires config file like agent
- Keep only actually used config: zmq.subscriber_ports and hosts.predefined_hosts
- Remove unused get_host_metrics function from metric store
- Clean up missing module imports (hosts, utils)
- Make dashboard fail fast if no configuration provided
- Align dashboard config approach with agent configuration pattern
This commit is contained in:
2025-10-21 21:54:23 +02:00
parent a6d2a2f086
commit 3d2b37b26c
5 changed files with 12 additions and 142 deletions

View File

@@ -11,7 +11,6 @@ mod config;
mod metrics;
mod notifications;
mod status;
mod utils;
use agent::Agent;