diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 12:16:14 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-04 12:16:14 +0200 |
commit | de0f05755548b2bf6454a608a2d0dc9073fa4c80 (patch) | |
tree | d04d3237c4186b3e92ea8916912d754e45c524a7 | |
parent | build(flake): Update (diff) | |
download | nixos-server-de0f05755548b2bf6454a608a2d0dc9073fa4c80.tar.gz nixos-server-de0f05755548b2bf6454a608a2d0dc9073fa4c80.zip |
fix(system/services/invidious-router): Use the unstable pkg update
This has been updated to provide a means to send the user to YouTube, if no invidious instances are available.
-rw-r--r-- | system/services/invidious-router/default.nix | 9 |
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; |