🔧 [pi4] Update Forgejo deprecated setting
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
systemConfig,
|
||||||
common,
|
common,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@ -26,6 +27,9 @@ in
|
|||||||
database.type = "postgres";
|
database.type = "postgres";
|
||||||
# Enable support for Git Large File Storage
|
# Enable support for Git Large File Storage
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
|
secrets.mailer.PASSWD = config.sops.secrets."mailserver/password-hash".path;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
DOMAIN = domain;
|
DOMAIN = domain;
|
||||||
@ -48,10 +52,9 @@ in
|
|||||||
PROTOCOL = "smtps";
|
PROTOCOL = "smtps";
|
||||||
SMTP_ADDR = config.mailserver.fqdn;
|
SMTP_ADDR = config.mailserver.fqdn;
|
||||||
FROM = "noreply-forgejo@${common.domain}";
|
FROM = "noreply-forgejo@${common.domain}";
|
||||||
USER = "noreply@${common.domain}";
|
USER = "${systemConfig.username}@${common.domain}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#mailerPasswordFile = config.sops.secrets."forgejo/mailer-password".path;
|
|
||||||
};
|
};
|
||||||
gitea-actions-runner = {
|
gitea-actions-runner = {
|
||||||
package = pkgs.forgejo-actions-runner;
|
package = pkgs.forgejo-actions-runner;
|
||||||
|
Reference in New Issue
Block a user