invidious

This commit is contained in:
Peder Bergebakken Sundt 2024-04-03 16:06:22 +02:00
parent 422d6aad23
commit df5466e881
1 changed files with 7 additions and 4 deletions

View File

@ -3,10 +3,10 @@
# Invidious # Invidious
# An open source alternative front-end to YouTube # An open source alternative front-end to YouTube
/** / /**/
disabledModules = [ "services/web-apps/invidious.nix" ]; #disabledModules = [ "services/web-apps/invidious.nix" ];
#imports = [ <nixos-unstable/nixos/modules/services/web-apps/invidious.nix> ]; ##imports = [ <nixos-unstable/nixos/modules/services/web-apps/invidious.nix> ];
imports = [ ("${inputs.unstable}/nixos/modules/services/web-apps/invidious.nix") ]; #imports = [ ("${inputs.unstable}/nixos/modules/services/web-apps/invidious.nix") ];
services.invidious.package = pkgs.unstable.invidious; services.invidious.package = pkgs.unstable.invidious;
/**/ /**/
@ -14,7 +14,9 @@
enable = true; enable = true;
domain = mkDomain "invidious"; domain = mkDomain "invidious";
port = 4765; port = 4765;
# TODO: nginx.enable = true;
settings = { settings = {
#host_binding = lib.mkForce "127.0.0.1";
host_binding = "127.0.0.1"; host_binding = "127.0.0.1";
external_port = 443; external_port = 443;
https_only = true; https_only = true;
@ -23,6 +25,7 @@
login_enabled = false; login_enabled = false;
#admins = ["pbsds"]; #admins = ["pbsds"];
banner = "spis meg"; banner = "spis meg";
#db.user = "invidious";
default_user_preferences = { default_user_preferences = {
#feed_menu = ["Popular", "Trending", "Subscriptions", "Playlists"] #feed_menu = ["Popular", "Trending", "Subscriptions", "Playlists"]
feed_menu = ["Trending" "Subscriptions" "Playlists"]; feed_menu = ["Trending" "Subscriptions" "Playlists"];