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

@ -4,9 +4,9 @@
# An open source alternative front-end to YouTube
/**/
disabledModules = [ "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") ];
#disabledModules = [ "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") ];
services.invidious.package = pkgs.unstable.invidious;
/**/
@ -14,7 +14,9 @@
enable = true;
domain = mkDomain "invidious";
port = 4765;
# TODO: nginx.enable = true;
settings = {
#host_binding = lib.mkForce "127.0.0.1";
host_binding = "127.0.0.1";
external_port = 443;
https_only = true;
@ -23,6 +25,7 @@
login_enabled = false;
#admins = ["pbsds"];
banner = "spis meg";
#db.user = "invidious";
default_user_preferences = {
#feed_menu = ["Popular", "Trending", "Subscriptions", "Playlists"]
feed_menu = ["Trending" "Subscriptions" "Playlists"];