apu: add invidious

This commit is contained in:
Joakim Repomaa
2025-03-30 20:10:19 +03:00
parent 5c5f3dd964
commit 0ecfaf4d3c
5 changed files with 38 additions and 9 deletions

View File

@@ -272,18 +272,30 @@
};
};
services.webserver = {
enable = true;
acme.dnsChallenge = true;
vHosts."koti.repomaa.com" = {
proxyBuffering = false;
locations."/".proxyPort = 8123;
services = {
webserver = {
enable = true;
acme.dnsChallenge = true;
vHosts."koti.repomaa.com" = {
proxyBuffering = false;
locations."/".proxyPort = 8123;
};
};
invidious = {
enable = true;
subdomain = "vid";
};
};
networking.nftables.enable = true;
networking.firewall.enable = true;
networking.useDHCP = false;
security.acme.defaults.environmentFile = config.age.secrets.hetzner.path;
networking = {
nftables.enable = true;
firewall.enable = true;
useDHCP = false;
domain = "repomaa.com";
};
system.stateVersion = "24.05";
}