{ pkgs, config, ... }: { virtualisation.oci-containers.containers = { gothub = { image = "codeberg.org/gothub/gothub:latest"; ports = [ "4032:3000" ]; environment = { DOCKER = "true"; GOTHUB_SETUP_COMPLETE = "true"; GOTHUB_PROXYING_ENABLED = "true"; GOTHUB_IP_LOGGED = "false"; GOTHUB_REQUEST_URL_LOGGED = "true"; GOTHUB_USER_AGENT_LOGGED = "true"; GOTHUB_DIAGNOSTIC_INFO_LOGGED = "false"; GOTHUB_INSTANCE_PRIVACY_POLICY = "https://4o1x5.dev/privacy-policy"; GOTHUB_INSTANCE_COUNTRY = "Hungary"; GOTHUB_INSTANCE_PROVIDER = "Telekom"; GOTHUB_INSTANCE_CLOUDFLARE = "false"; }; }; }; services.nginx = { virtualHosts = { "gothub.${config.networking.domain}" = { forceSSL = true; enableACME = true; locations."/" = { proxyPass = " http://127.0.0.1:4032"; }; }; }; }; }