increase snowflake capacity, add tor subdomain
All checks were successful
/ deploy (push) Successful in 31s

This commit is contained in:
toufic ar 2026-02-05 20:52:49 +02:00
parent 25e91078bb
commit 03464d2756
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
3 changed files with 14 additions and 2 deletions

View file

@ -1,7 +1,10 @@
{config, ...}: let
customDomain = config.customOps.domain.fqdn;
in {
imports = [./captiveportal.nix];
imports = [
./captiveportal.nix
./tor-snowflake.nix
];
networking.firewall.allowedTCPPorts = [80 443];

View file

@ -0,0 +1,9 @@
{config, ...}: let
torDomain = "tor.${config.customOps.domain.fqdn}";
in {
services.nginx.virtualHosts.${torDomain} = {
root = "/var/www/${torDomain}";
forceSSL = true;
enableACME = true;
};
}

View file

@ -64,7 +64,7 @@ in {
services.snowflake-proxy = {
enable = true;
capacity = 10;
capacity = 20;
extraFlags = ["-metrics"];
};
}