katzen-cafe/modules/invidious.nix

35 lines
795 B
Nix
Raw Permalink Normal View History

2024-01-25 10:06:08 +01:00
{
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";
};
};
};
}