magpie/gitea: update configuration syntax
This commit is contained in:
parent
cadaede0ee
commit
f2dcdb6d5c
@ -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
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user