diff --git a/configuration.nix b/configuration.nix index eb27cc5..4623483 100644 --- a/configuration.nix +++ b/configuration.nix @@ -40,27 +40,30 @@ in { services.gitea = { enable = true; appName = "${hostname}"; - domain = "${hostname}"; - rootUrl = "https://${hostname}"; - disableRegistration = true; + settings = { - "ui" = { - DEFAULT_THEME = "gitea"; + server = { + ROOT_URL = "https://${hostname}"; + DOMAIN = "${hostname}"; }; - "attachment" = { - ENABLED = true; - ALLOWED_TYPES = "*/*"; + service = { + DISABLE_REGISTRATION = true; }; - "other" = { + attachment = { + ENABLED = false; + }; + other = { SHOW_FOOTER_VERSION = false; }; - "repository.signing" = { - DEFAULT_TRUST_MODEL = "committer"; + repository = { + signing = { + DEFAULT_TRUST_MODEL = "committer"; + }; }; }; }; - security.acme.email = "letsencrypt@dumpstack.io"; + security.acme.defaults.email = "letsencrypt@dumpstack.io"; security.acme.acceptTerms = true; services.nginx = {