disable users explore page for forgejo
This commit is contained in:
parent
9d0061fe6b
commit
68704bc88e
1 changed files with 8 additions and 5 deletions
|
|
@ -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" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue