From 9ec6c50a2baa3d2a22d9a2e343e2a3467e4462f5 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 | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/configuration.nix b/configuration.nix index eb27cc5..d8c811a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,7 +11,6 @@ in { ]; boot.loader.grub.enable = true; - boot.loader.grub.version = 2; boot.loader.grub.device = "/dev/vda"; swapDevices = [ @@ -40,27 +39,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 = {