{ self, config, lib, pkgs, ... }: let domain = "ai.sondell.org"; in { services.nginx.virtualHosts = { ${domain} = { locations."/" = { proxyPass = "http://localhost:9876/"; proxyWebsockets = true; }; # Use DNS Challenege. # acmeRoot = null; }; }; }