Forgejo: fix repo indexing (hopefully)
This commit is contained in:
parent
09af51fce8
commit
9e37678202
|
@ -56,11 +56,13 @@ in
|
|||
services = {
|
||||
forgejo = {
|
||||
enable = true;
|
||||
settings.server = {
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = pkgs.util.getDomainFromURL cfg.url;
|
||||
ROOT_URL = cfg.url;
|
||||
HTTP_PORT = 3000;
|
||||
REPO_INDEXER_ENABLED = true; # Enable code indexing
|
||||
};
|
||||
indexer.REPO_INDEXER_ENABLED = true; # Enable code indexing
|
||||
};
|
||||
useWizard = true;
|
||||
} // lib.optionalAttrs (cfg.home != null) { stateDir = cfg.home; };
|
||||
|
|
Loading…
Reference in a new issue