disable users explore page for forgejo

This commit is contained in:
root 2025-11-09 22:45:58 +00:00
parent 9d0061fe6b
commit 68704bc88e

View file

@ -8,12 +8,15 @@ in {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
lfs.enable = false; lfs.enable = false;
settings.server = { settings = {
server = {
DOMAIN = "git.distrust.network"; DOMAIN = "git.distrust.network";
HTTP_PORT = forgejoPort; HTTP_PORT = forgejoPort;
ROOT_URL = "https://git.distrust.network/"; ROOT_URL = "https://git.distrust.network/";
SSH_PORT = builtins.head config.services.openssh.ports; SSH_PORT = builtins.head config.services.openssh.ports;
}; };
"service.explore".DISABLE_USERS_PAGE = true;
};
}; };
distrust.services."forgejo" = { distrust.services."forgejo" = {