summary refs log tree commit diff stats
path: root/system/services/invidious
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/invidious-router/default.nix9
1 files changed, 8 insertions, 1 deletions
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;