feat: adds invidious

This commit is contained in:
Ahwx 2024-07-17 15:16:21 +02:00
parent d6bbb33419
commit 4273a42d9c

View file

@ -0,0 +1,21 @@
{ config, ... }:
{
services.invidious = {
enable = true;
port = 8001;
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
clientMaxBodySize = "40M";
virtualHosts = {
"video.liv.town" = {
forceSSL = true;
enableACME = true;
proxyPass = "http://127.0.0.1:${toString config.services.invidious.port}";
};
};
};
}