{...}: { services.invidious-router = { enable = true; configuration = { app = { listen = "0.0.0.0:8050"; enable_youtube_fallback = false; reload_instance_list_interval = "60s"; instances = ["https://invdious.vhack.eu"]; }; api = { enabled = true; url = "https://api.invdious.io/instances.json"; filter_regions = true; allowed_regions = ["AT" "DE" "CH"]; }; healthcheck = { path = "/"; allowed_status_codes = ["200"]; timeout = "1s"; interval = "10s"; filter_by_response_time = { enabled = true; qty_of_top_results = 4; }; }; }; nginx = { enable = true; domain = "invidious-router.sils.li"; }; }; }