wip gitea mailer

This commit is contained in:
Motiejus Jakštys 2023-02-21 16:29:27 +02:00
parent 0cc0fd09b6
commit 4d21eda97f

View File

@ -243,18 +243,32 @@ in {
mirror.ENABLED = false; mirror.ENABLED = false;
other.SHOW_FOOTER_VERSION = false; other.SHOW_FOOTER_VERSION = false;
packages.ENABLED = false; packages.ENABLED = false;
repository.DEFAULT_REPO_UNITS = "repo.code,repo.releases"; repository = {
repository.DISABLE_MIGRATIONS = true; DEFAULT_REPO_UNITS = "repo.code,repo.releases";
repository.DISABLE_STARS = true; DISABLE_MIGRATIONS = true;
repository.ENABLE_PUSH_CREATE_USER = true; DISABLE_STARS = true;
ENABLE_PUSH_CREATE_USER = true;
};
security.LOGIN_REMEMBER_DAYS = 30; security.LOGIN_REMEMBER_DAYS = 30;
server.ENABLE_GZIP = true; server = {
server.LANDING_PAGE = "/motiejus"; ENABLE_GZIP = true;
service.DISABLE_REGISTRATION = true; LANDING_PAGE = "/motiejus";
service.ENABLE_TIMETRACKING = false; };
service.ENABLE_USER_HEATMAP = false; service = {
service.SHOW_MILESTONES_DASHBOARD_PAGE = false; DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true; ENABLE_TIMETRACKING = false;
ENABLE_USER_HEATMAP = false;
SHOW_MILESTONES_DASHBOARD_PAGE = false;
COOKIE_SECURE = true;
};
# TODO: does not work with 1.7.4, getting error
# in the UI when testing the email sending workflow.
#mailer = {
# ENABLED = true;
# MAILER_TYPE = "sendmail";
# FROM = "<noreply@jakstys.lt>";
# SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
#};
"service.explore".DISABLE_USERS_PAGE = true; "service.explore".DISABLE_USERS_PAGE = true;
}; };
}; };