about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/services/invidious.nix18
1 files changed, 17 insertions, 1 deletions
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" ];
       };
     };
   };