73 lines
2.0 KiB
Nix
Executable File
73 lines
2.0 KiB
Nix
Executable File
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
services.invidious = {
|
|
enable = true;
|
|
# sig helper is deprecated -> waiting for nixos pkg update to Invidious companion (see: https://docs.invidious.io/installation/#hardware-requirements)
|
|
sig-helper = {
|
|
enable = true;
|
|
listenAddress = "127.0.0.1:2999";
|
|
};
|
|
port = 3030;
|
|
domain = "tube.bug.tools";
|
|
settings = {
|
|
signature_server = "127.0.0.1:2999";
|
|
https_only = true;
|
|
hsts = true;
|
|
external_port = 443;
|
|
popular_enabled = true;
|
|
statistics_enabled = true;
|
|
registration_enabled = false;
|
|
login_enabled = true;
|
|
captcha_enabled = false;
|
|
enable_user_notifications = false;
|
|
channel_threads = 2;
|
|
full_refresh = false;
|
|
cache_annotations = true;
|
|
playlist_length_limit = 500;
|
|
default_user_preferences = {
|
|
locale = "en-US";
|
|
region = "DE";
|
|
captions = [
|
|
"German"
|
|
"English"
|
|
"English (auto-generated)"
|
|
];
|
|
dark_mode = "dark";
|
|
thin_mode = false;
|
|
feed_menu = [
|
|
"Popular"
|
|
"Trending"
|
|
"Subscriptions"
|
|
"Playlists"
|
|
];
|
|
default_home = "Popular";
|
|
max_results = 60;
|
|
annotations = false;
|
|
annotations_subscribed = false;
|
|
comments = [
|
|
"youtube"
|
|
"reddit"
|
|
];
|
|
player_style = "invidious";
|
|
related_videos = true;
|
|
autoplay = false;
|
|
continue = false;
|
|
continue_autoplay = true;
|
|
listen = false;
|
|
video_loop = false;
|
|
quality = "dash";
|
|
quality_dash = "best";
|
|
speed = 1.5;
|
|
volume = 100;
|
|
vr_mode = true;
|
|
save_player_pos = true;
|
|
latest_only = false;
|
|
notifications_only = false;
|
|
unseen_only = false;
|
|
sort = "published";
|
|
};
|
|
};
|
|
};
|
|
}
|