diff --git a/modules/services/server/gitea.nix b/modules/services/server/gitea.nix index eee3a1e..9a8cf9e 100644 --- a/modules/services/server/gitea.nix +++ b/modules/services/server/gitea.nix @@ -8,11 +8,8 @@ services.gitea = { enable = true; dump.enable = true; - rootUrl = "https://git.kabtop.de"; lfs.enable = true; - httpAddress = "localhost"; dump.type = "tar.xz"; - domain = "git.kabtop.de"; database.type = "postgres"; database.user = "gitea"; database.name = "giteadb"; @@ -23,6 +20,9 @@ mailerPasswordFile = config.age.secrets."services/gitea/mailerPassword".path; settings = { server = { + ROOT_URL = "https://git.kabtop.de"; + HTTP_ADDR = "localhost"; + DOMAIN = "git.kabtop.de"; SSH_PORT = 2220; ENABLE_GZIP = true; };