{ lib, config, ... }: with lib; with types; { imports = [ ./default.nix ]; options.components.monitor.container.promtail.port = mkOption { type = int; }; config = { components.monitor.enable = mkDefault true; components.monitor.metrics.enable = mkDefault false; components.monitor.promtail.port = config.components.monitor.container.promtail.port; components.monitor.opentelemetry.exporter.endpoint = mkDefault "127.0.0.1:4317"; }; }