Do you need a password or something to fix it?

This commit is contained in:
Lillian Violet 2024-01-02 13:05:08 +01:00
parent 81f79421d6
commit 9879700f9c

View file

@ -25,7 +25,7 @@
group = "gitea";
stateDir = "/var/lib/gitea";
#TODO: different mail passwords for different services
#mailerPasswordFile = config.sops.secrets."mailpassunhash".path;
mailerPasswordFile = config.sops.secrets."mailpassunhash".path;
database = {
user = "gitea";
name = "gitea";
@ -37,14 +37,14 @@
SCHEDULE = "@every 24h";
UPDATE_EXISTING = true;
};
# mailer = {
# ENABLED = true;
# PROTOCOL = "sendmail";
# FROM = "git.lillianviolet.dev";
# USER = "no-reply";
# SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
# SENDMAIL_ARGS = "-bs";
# };
mailer = {
ENABLED = true;
PROTOCOL = "sendmail";
FROM = "git.lillianviolet.dev";
USER = "no-reply";
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
SENDMAIL_ARGS = "-bs";
};
repository = {
ENABLE_PUSH_CREATE_USER = true;
};