{ config, ... }: { services.prometheus.scrapeConfigs = [ { job_name = "uptime-kuma"; static_configs = [{ targets = [ "localhost:${builtins.toString config.services.uptime-kuma.settings.PORT}" ]; }]; } ]; }