This commit is contained in:
Joakim Repomaa
2025-02-06 16:22:34 +02:00
committed by Joakim Repomaa
parent 983e313e11
commit 7a24ac5fe6
21 changed files with 233 additions and 193 deletions

View File

@@ -0,0 +1,23 @@
{ ... }:
let
fqdn = "vid.freun.dev";
port = 3000;
in
{
services.invidious = {
enable = true;
domain = fqdn;
address = "127.0.0.1";
inherit port;
settings = {
external_port = 443;
db = {
dbname = "invidious";
user = "invidious";
};
};
};
modules.webserver.vHosts.${fqdn}.locations."/".proxy = "http://localhost:${toString port}";
}