From de0f05755548b2bf6454a608a2d0dc9073fa4c80 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 4 Oct 2024 12:16:14 +0200 Subject: fix(system/services/invidious-router): Use the unstable pkg This has been updated to provide a means to send the user to YouTube, if no invidious instances are available. --- system/services/invidious-router/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/system/services/invidious-router/default.nix b/system/services/invidious-router/default.nix index c4d855c..a53cf29 100644 --- a/system/services/invidious-router/default.nix +++ b/system/services/invidious-router/default.nix @@ -1,11 +1,18 @@ -{...}: { +{pkgsUnstable, ...}: { services.invidious-router = { enable = true; + package = pkgsUnstable.invidious-router; settings = { app = { listen = "127.0.0.1:8050"; enable_youtube_fallback = false; reload_instance_list_interval = "60s"; + not_available_message = '' + No available invidious instance found! + [link]View this video on YouTube[/link], a proprietary + platform that collects and uses your data without respecting + your privacy. + ''; }; api = { enabled = true; -- cgit 1.4.1