mirror of
https://forge.katzen.cafe/katzen-cafe/katzen-cafe.git
synced 2024-11-05 15:36:23 +01:00
set up invidious
This commit is contained in:
parent
5c4642c6b5
commit
f62328f4d3
34
modules/invidious.nix
Normal file
34
modules/invidious.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue