{ services.prometheus = { enable = true; scrapeConfigs = [ { job_name = "prometheus"; scrape_interval = "5s"; static_configs = [ { targets = [ "localhost:9090" ]; } ]; } ]; }; }