server: gitea->forgejo
This commit is contained in:
parent
1d77aed15f
commit
1ccdb2bd47
|
@ -221,6 +221,7 @@ in {
|
||||||
};
|
};
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.forgejo;
|
||||||
database = {
|
database = {
|
||||||
createDatabase = false;
|
createDatabase = false;
|
||||||
passwordFile = "/var/lib/gitea/db_password";
|
passwordFile = "/var/lib/gitea/db_password";
|
||||||
|
@ -229,7 +230,7 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
FROM = "Gitea <noreply@${cfg.domainName}>";
|
FROM = "Forgejo <noreply@${cfg.domainName}>";
|
||||||
MAILER_TYPE = "smtp";
|
MAILER_TYPE = "smtp";
|
||||||
HOST = "mail.${cfg.domainName}:587";
|
HOST = "mail.${cfg.domainName}:587";
|
||||||
USER = "noreply@${cfg.domainName}";
|
USER = "noreply@${cfg.domainName}";
|
||||||
|
|
Loading…
Reference in a new issue