magpie/gitea: update configuration syntax

This commit is contained in:
Asmir A 2023-10-17 22:50:31 +02:00
parent cadaede0ee
commit f2dcdb6d5c

View File

@ -173,18 +173,20 @@
PROTOCOL = "sendmail"; PROTOCOL = "sendmail";
SENDMAIL_PATH = "/run/wrappers/bin/sendmail"; SENDMAIL_PATH = "/run/wrappers/bin/sendmail";
}; };
extraConfig = let
settings.service = {
REGISTER_EMAIL_CONFIRM = true;
};
settings."markup.restructuredtext" = let
docutils = docutils =
pkgs.python3.withPackages (ps: with ps; [docutils pygments]); pkgs.python3.withPackages (ps: with ps; [docutils pygments]);
in '' in {
[service] ENABLED = true;
REGISTER_EMAIL_CONFIRM = true FILE_EXTENSIONS = ".rst";
[markup.restructuredtext] RENDER_COMMAND = "${docutils}/bin/rst2html.py";
ENABLED = true IS_INPUT_FILE = false;
FILE_EXTENSIONS = .rst };
RENDER_COMMAND = ${docutils}/bin/rst2html.py
IS_INPUT_FILE = false
'';
}; };
/* /*