nox: 23.11 -> 24.05

This commit is contained in:
Peder Bergebakken Sundt 2024-08-04 14:54:49 +02:00
parent 8fefe84f3e
commit cd015a26b8
3 changed files with 6 additions and 6 deletions

View File

@ -285,7 +285,7 @@
}; };
in builtins.mapAttrs (hostname: curried: curried hostname) { in builtins.mapAttrs (hostname: curried: curried hostname) {
#hostname "domain" "system" inputs "state" [ modules ... ] #hostname "domain" "system" inputs "state" [ modules ... ]
noximilien = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au intel ]; noximilien = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au intel ];
brumlebasse = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au amd nspawn ]; brumlebasse = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au amd nspawn ];
nord = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au intel-novga hw.common-gpu-intel-sandy-bridge rocm hidpi ]; nord = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au intel-novga hw.common-gpu-intel-sandy-bridge rocm hidpi ];
sopp = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au nixld intel cuda p1005 ]; sopp = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au nixld intel cuda p1005 ];

View File

@ -73,7 +73,7 @@
../../profiles/http/docs ../../profiles/http/docs
../../profiles/http/docs/pdoc.nix ../../profiles/http/docs/pdoc.nix
../../profiles/http/docs/python-docs.nix ../../profiles/http/docs/python-docs.nix
../../profiles/http/docs/nixpkgs.nix #../../profiles/http/docs/nixpkgs.nix # TODO: fix
../../profiles/http/docs/home-manager.nix ../../profiles/http/docs/home-manager.nix
#../../profiles/http/docs/linux-docs.nix # TODO: fix #../../profiles/http/docs/linux-docs.nix # TODO: fix
../../profiles/http/docs/programs.nix ../../profiles/http/docs/programs.nix

View File

@ -7,17 +7,16 @@
#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; */
/**/ /**/
services.invidious = { services.invidious = {
enable = true; enable = true;
domain = mkDomain "invidious"; domain = mkDomain "invidious";
address = "127.0.0.1";
port = 4765; port = 4765;
# TODO: nginx.enable = true; # TODO: nginx.enable = true;
settings = { settings = {
#host_binding = lib.mkForce "127.0.0.1";
host_binding = "127.0.0.1";
external_port = 443; external_port = 443;
https_only = true; https_only = true;
statistics_enabled = false; # api endpoint required for public instances statistics_enabled = false; # api endpoint required for public instances
@ -25,7 +24,8 @@
login_enabled = false; login_enabled = false;
#admins = ["pbsds"]; #admins = ["pbsds"];
banner = "spis meg"; banner = "spis meg";
#db.user = "invidious"; db.user = "invidious"; # workaround for stateVersion 23.11
db.dbname = "invidious"; # workaround for stateVersion 23.11
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"];