add mail support for forgejo
This commit is contained in:
parent
b5e4575ccb
commit
fadb6a5eac
1 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
secrets.mailer.PASSWD = config.age.secrets."forgejo-mail".path;
|
||||||
dump = {
|
dump = {
|
||||||
enable = true;
|
enable = true;
|
||||||
type = "zip";
|
type = "zip";
|
||||||
|
|
@ -31,6 +32,12 @@
|
||||||
DISABLE_REGISTRATION = true;
|
DISABLE_REGISTRATION = true;
|
||||||
LANDING_PAGE = "/osbm";
|
LANDING_PAGE = "/osbm";
|
||||||
};
|
};
|
||||||
|
mailer = {
|
||||||
|
ENABLED = true;
|
||||||
|
PROTOCOL = "smtps";
|
||||||
|
SMTP_ADDR = "osbm.dev";
|
||||||
|
USER = "forgejo@osbm.dev";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue