From 029aa80e04a09bb7ae487ad151ada3dba5d49678 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 4 Feb 2024 21:58:16 +0900 Subject: feat(modules/invidious): set sensible defaults --- modules/services/invidious.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'modules/services') diff --git a/modules/services/invidious.nix b/modules/services/invidious.nix index 17fec9f..cf9ba92 100644 --- a/modules/services/invidious.nix +++ b/modules/services/invidious.nix @@ -24,10 +24,26 @@ in hmacKeyFile = cfg.secrets.invidious-hmac-key; + database.createLocally = true; + settings = { db.user = "indivious"; - captions = [ "English" "Japanese" "Korean" ]; + db.dbname = "indivious"; check_tables = true; + + external_port = 443; + https_only = true; + + quality = "dash"; + quality_dash = "best"; + + use_pubsub_feeds = true; + + popular_enabled = false; + feed_menu = [ /* "Popular" */ "Trending" "Subscriptions" "Playlists" ]; + default_home = "Trending"; + + captions = [ "English" "Japanese" "Korean" ]; }; }; }; -- cgit 1.4.1