{ pkgs, lib, config, ...}: { dns.zones."ctu.cx" = (pkgs.dns.lib.combinators.host config.networking.primaryIP4 config.networking.primaryIP); services.nginx = { enable = true; virtualHosts."ctu.cx" = { enableACME = true; forceSSL = true; kTLS = true; root = pkgs.ctucx-website; locations = { "/netzabdeckung.html".return = "307 https://wifionic.de/"; "/bikemap".return = "307 https://bikemap.ctu.cx/"; }; }; }; }