update(forgejo): password recovery
This commit is contained in:
parent
1dc935004d
commit
345b8dd60b
3 changed files with 32 additions and 1 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
{ config, ... }: {
|
||||
|
||||
age.secrets.forgejo_mailer_password = {
|
||||
file = ../secrets/forgejo_mailer_password.age;
|
||||
owner = "forgejo";
|
||||
};
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
database.type = "postgres";
|
||||
|
|
@ -20,6 +26,15 @@
|
|||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
mailer = {
|
||||
ENABLED = true;
|
||||
SMTP_ADDR = "smtp.gmail.com";
|
||||
FROM = "filippoberto95@gmail.com";
|
||||
USER = "filippoberto95@gmail.com";
|
||||
};
|
||||
};
|
||||
secrets = {
|
||||
mailer.PASSWD = config.age.secrets.forgejo_mailer_password.path;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue