{ config, pkgs, ... }: { services.nginx.virtualHosts."gitea.stubbe.rocks" = { enableACME = true; forceSSL = true; locations."/".proxyPass = "http://localhost:3000"; }; users.users.gitea.shell = pkgs.zsh; services.postgresql.enable = true; services.gitea = { enable = true; repositoryRoot = "/var/lib/gitea/gitea-repositories"; lfs.enable = true; database.type = "postgres"; settings.service.DISABLE_REGISTRATION=true; settings.server.ROOT_URL="https://gitea.stubbe.rocks"; # package = pkgs.gitea.override rec { # buildGoModule = args: pkgs.buildGoModule ( args // { # tags = args.tags ++ [ "bindata" ]; # }); # }; }; }