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 = { services = {
forgejo = { forgejo = {
enable = true; enable = true;
settings.server = { settings = {
DOMAIN = pkgs.util.getDomainFromURL cfg.url; server = {
ROOT_URL = cfg.url; DOMAIN = pkgs.util.getDomainFromURL cfg.url;
HTTP_PORT = 3000; ROOT_URL = cfg.url;
REPO_INDEXER_ENABLED = true; # Enable code indexing HTTP_PORT = 3000;
};
indexer.REPO_INDEXER_ENABLED = true; # Enable code indexing
}; };
useWizard = true; useWizard = true;
} // lib.optionalAttrs (cfg.home != null) { stateDir = cfg.home; }; } // lib.optionalAttrs (cfg.home != null) { stateDir = cfg.home; };