feat(forgejo): enable sign ups, but they have to be manually approved
This commit is contained in:
parent
8aadbf24e5
commit
567e44d6cd
1 changed files with 17 additions and 1 deletions
|
@ -16,7 +16,23 @@ in {
|
|||
HTTP_PORT = port;
|
||||
};
|
||||
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
"markup.asciidoc" = {
|
||||
ENABLED = true;
|
||||
NEED_POSTPROCESS = true;
|
||||
FILE_EXTENSIONS = ".adoc,.asciidoc";
|
||||
RENDER_COMMAND = ''"${pkgs.asciidoctor}/bin/asciidoctor -e --safe-mode=secure -a showtitle --out-file=- -"'';
|
||||
IS_INPUT_FILE = false;
|
||||
};
|
||||
|
||||
"markup.restructuredtext" = {
|
||||
ENABLED = true;
|
||||
NEED_POSTPROCESS = true;
|
||||
FILE_EXTENSIONS = ".rst";
|
||||
RENDER_COMMAND = ''"timeout 30s ${pkgs.pandoc}/bin/pandoc +RTS -M512M -RTS -f rst"'';
|
||||
IS_INPUT_FILE = false;
|
||||
};
|
||||
|
||||
service.REGISTER_MANUAL_CONFIRM = true;
|
||||
cron.ENABLED = true;
|
||||
federation.ENABLED = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue