1
0
Fork 0

Forgejo: fix repo indexing (hopefully)

This commit is contained in:
Aires 2024-09-28 13:39:05 -04:00
parent 09af51fce8
commit 9e37678202

View file

@ -56,11 +56,13 @@ in
services = {
forgejo = {
enable = true;
settings.server = {
DOMAIN = pkgs.util.getDomainFromURL cfg.url;
ROOT_URL = cfg.url;
HTTP_PORT = 3000;
REPO_INDEXER_ENABLED = true; # Enable code indexing
settings = {
server = {
DOMAIN = pkgs.util.getDomainFromURL cfg.url;
ROOT_URL = cfg.url;
HTTP_PORT = 3000;
};
indexer.REPO_INDEXER_ENABLED = true; # Enable code indexing
};
useWizard = true;
} // lib.optionalAttrs (cfg.home != null) { stateDir = cfg.home; };