vps1: git: follow option changes

This commit is contained in:
Lgmrszd 2024-07-10 23:59:41 +03:00
parent 08fe078a4f
commit 9fff8d371a
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -36,7 +36,6 @@ in
enable = true; enable = true;
inherit stateDir; inherit stateDir;
inherit customDir; inherit customDir;
mailerPasswordFile = config.sops.secrets."forgejo/email_password".path;
database = { database = {
type = "postgres"; type = "postgres";
createDatabase = true; createDatabase = true;
@ -111,9 +110,12 @@ in
PORT = 993; PORT = 993;
USE_TLS = true; USE_TLS = true;
USERNAME = "forgejo@${rootDomain}"; USERNAME = "forgejo@${rootDomain}";
PASSWORD = "#mailerpass#";
}; };
}; };
secrets = {
"email.incoming".PASSWORD = config.sops.secrets."forgejo/email_password".path;
mailer.PASSWD = config.sops.secrets."forgejo/email_password".path;
};
}; };
sops.secrets."forgejo/email_password" = sops_opts; sops.secrets."forgejo/email_password" = sops_opts;