diff options
author | sefidel <contact@sefidel.net> | 2024-02-04 21:58:16 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-02-04 21:58:16 +0900 |
commit | 029aa80e04a09bb7ae487ad151ada3dba5d49678 (patch) | |
tree | cff807d074d31bb34cdc6a70e3e2e46f60493e73 /modules/services/invidious.nix | |
parent | 7c8f33849779e922cbb85bcae23fbb8f0bf777be (diff) | |
download | nixrc-029aa80e04a09bb7ae487ad151ada3dba5d49678.tar.gz nixrc-029aa80e04a09bb7ae487ad151ada3dba5d49678.zip |
feat(modules/invidious): set sensible defaults
Diffstat (limited to 'modules/services/invidious.nix')
-rw-r--r-- | modules/services/invidious.nix | 18 |
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" ]; }; }; }; |