set up invidious

This commit is contained in:
Schrottkatze 2024-01-25 10:06:08 +01:00
parent 5c4642c6b5
commit f62328f4d3
Signed by: schrottkatze
GPG key ID: DFD0FD205943C14A

34
modules/invidious.nix Normal file
View file

@ -0,0 +1,34 @@
{
nixpkgsUnstable,
pkgsUnstable,
...
}: {
imports = [
"${nixpkgsUnstable}/nixos/modules/services/web-apps/invidious.nix"
];
disabledModules = [
"services/web-apps/invidious.nix"
];
services.invidious = {
enable = true;
domain = "catio.katzen.cafe";
serviceScale = 8;
http3-ytproxy.enable = true;
http3-ytproxy.package = pkgsUnstable.http3-ytproxy;
nginx.enable = true;
port = 3033;
settings = {
registration_enabled = true;
admins = ["adminkatze"];
banner = "Experimental katzen.cafe invidious instance! Meow!";
use_pubsub_feeds = true;
dark_mode = "dark";
force_resolve = "ipv6";
save_player_pos = true;
db = {
user = "invidious";
name = "invidious";
};
};
};
}