From 7f0b8a15f8ed63d850f41e542c15ef7b9d59b96a Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 24 Jun 2024 10:12:16 +0000 Subject: [PATCH] Sync with upstream module updates --- configuration.nix | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index eb27cc5..83b48b6 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" = { - SHOW_FOOTER_VERSION = false; + attachment = { + enabled = false; }; - "repository.signing" = { - DEFAULT_TRUST_MODEL = "committer"; + other = { + show_footer_version = false; + }; + 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 = {