maybe rst support
scaffolding for mailer
This commit is contained in:
parent
a5cc882078
commit
7fbbe71a39
|
@ -7,13 +7,6 @@
|
||||||
domain = "git.sealight.xyz";
|
domain = "git.sealight.xyz";
|
||||||
rootUrl = "https://git.sealight.xyz";
|
rootUrl = "https://git.sealight.xyz";
|
||||||
httpPort = 3001;
|
httpPort = 3001;
|
||||||
extraConfig = ''
|
|
||||||
[markup.restructuredtext]
|
|
||||||
ENABLED = true
|
|
||||||
FILE_EXTENSIONS = .rst
|
|
||||||
RENDER_COMMAND = "timeout 30s pandoc +RTS -M512M -RTS -f rst"
|
|
||||||
IS_INPUT_FILE = false
|
|
||||||
'';
|
|
||||||
database = {
|
database = {
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
# passwordFile = "/run/secrets/gitea-dbpass"; # TODO supplied by agenix
|
# passwordFile = "/run/secrets/gitea-dbpass"; # TODO supplied by agenix
|
||||||
|
@ -26,6 +19,19 @@
|
||||||
repository = {
|
repository = {
|
||||||
DEFAULT_BRANCH = "main";
|
DEFAULT_BRANCH = "main";
|
||||||
};
|
};
|
||||||
|
"markup.restructuredtext" = {
|
||||||
|
ENABLED = true;
|
||||||
|
FILE_EXTENSIONS = ".rst";
|
||||||
|
RENDER_COMMAND = "timeout 30s pandoc +RTS -M512M -RTS -f rst";
|
||||||
|
IS_INPUT_FILE = false;
|
||||||
|
};
|
||||||
|
# TODO
|
||||||
|
mailer = {
|
||||||
|
ENABLED = false;
|
||||||
|
MAILER_TYPE = "smtp";
|
||||||
|
FROM = "ops@sealight.xyz";
|
||||||
|
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue