{ hostRegistry, config, ... }: { networking.hostName = "sdrweb"; networking.useNetworkd = true; networking.interfaces.eth0.ipv4.addresses = [{ address = hostRegistry.hosts.${config.networking.hostName}.ip4; prefixLength = 26; }]; networking.defaultGateway = "172.20.73.1"; # http https networking.firewall.allowedTCPPorts = [ 80 443 ]; services.nginx = { enable = true; recommendedProxySettings = true; virtualHosts."sdr.hq.c3d2.de" = { default = true; forceSSL = true; enableACME = true; locations."/" = { proxyPass = "http://localhost:8073"; proxyWebsockets = true; }; }; }; services.openwebrx.enable = true; # noXlibs breaks cairo: environment.noXlibs = false; }