feat(forjego): prepare for enabling mailer
This commit is contained in:
parent
6204338c82
commit
df5c9fb1b3
1 changed files with 18 additions and 9 deletions
|
@ -6,8 +6,21 @@ in {
|
|||
enable = true;
|
||||
package = pkgs.unstable.forgejo;
|
||||
settings = {
|
||||
DEFAULT = {
|
||||
APP_NAME = "buffet's kitchen";
|
||||
DEFAULT.APP_NAME = "buffet's kitchen";
|
||||
admin.SEND_NOTIFICATION_EMAIL_ON_NEW_USER = true;
|
||||
cron.ENABLED = true;
|
||||
federation.ENABLED = true;
|
||||
|
||||
mailer = {
|
||||
ENABLED = false;
|
||||
PROTOCOL = "sendmail";
|
||||
FROM = "buffet's kitchen <do-not-reply@buffets.kitchen>";
|
||||
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
|
||||
};
|
||||
|
||||
repository = {
|
||||
ENABLE_PUSH_CREATE_USER = true;
|
||||
ENABLE_PUSH_CREATE_ORG = true;
|
||||
};
|
||||
|
||||
server = {
|
||||
|
@ -16,9 +29,9 @@ in {
|
|||
HTTP_PORT = port;
|
||||
};
|
||||
|
||||
repository = {
|
||||
ENABLE_PUSH_CREATE_USER = true;
|
||||
ENABLE_PUSH_CREATE_ORG = true;
|
||||
service = {
|
||||
REGISTER_MANUAL_CONFIRM = true;
|
||||
ENABLE_NOTIFY_MAIL = true;
|
||||
};
|
||||
|
||||
"markup.asciidoc" = {
|
||||
|
@ -36,10 +49,6 @@ in {
|
|||
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