feat(forgejo): enable sign ups, but they have to be manually approved

This commit is contained in:
buffet 2024-05-01 14:33:48 +02:00
parent 8aadbf24e5
commit 567e44d6cd

View file

@ -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;
};