gitea: use renamed options in gitea.settings.server

trace: warning: The option `services.gitea.rootUrl' defined in `hosts/flora-6/gitea.nix' has been renamed to `services.gitea.settings.server.ROOT_URL'.
trace: warning: The option `services.gitea.httpPort' defined in `hosts/flora-6/gitea.nix' has been renamed to `services.gitea.settings.server.HTTP_PORT'.
trace: warning: The option `services.gitea.httpAddress' defined in `hosts/flora-6/gitea.nix' has been renamed to `services.gitea.settings.server.HTTP_ADDR'.
trace: warning: The option `services.gitea.domain' defined in `hosts/flora-6/gitea.nix' has been renamed to `services.gitea.settings.server.DOMAIN'.
This commit is contained in:
teutat3s 2023-05-14 15:22:54 +02:00
parent b38c378003
commit fc0768d353
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -25,13 +25,15 @@
type = "postgres"; type = "postgres";
passwordFile = config.age.secrets.gitea-database-password.path; passwordFile = config.age.secrets.gitea-database-password.path;
}; };
domain = "git.pub.solar";
httpAddress = "127.0.0.1";
httpPort = 3000;
lfs.enable = true; lfs.enable = true;
mailerPasswordFile = config.age.secrets.gitea-mailer-password.path; mailerPasswordFile = config.age.secrets.gitea-mailer-password.path;
rootUrl = "https://git.pub.solar";
settings = { settings = {
server = {
ROOT_URL = "https://git.pub.solar";
DOMAIN = "git.pub.solar";
HTTP_ADDR = "127.0.0.1";
HTTP_PORT = 3000;
};
mailer = { mailer = {
ENABLED = true; ENABLED = true;
PROTOCOL = "smtps"; PROTOCOL = "smtps";