{ config, pkgs, ... }: let domain = "gagegit.chicagotea.click"; in { services.forgejo = { enable = true; settings = { mailer.ENABLED = false; server = { DOMAIN = domain; ROOT_URL = "https://${domain}/"; }; repository.ENABLE_PUSH_CREATE_USER = true; #service.DISABLE_REGISTRATION = true; }; }; services.caddy.virtualHosts.${domain}.extraConfig = '' reverse_proxy :3000 ''; }