Forgejo: fix repo indexing (hopefully)
This commit is contained in:
parent
09af51fce8
commit
9e37678202
|
@ -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; };
|
||||||
|
|
Loading…
Reference in a new issue