From 845731969622c66e26bccfdc8e003712da8f973d 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 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/configuration.nix b/configuration.nix index eb27cc5..45525e9 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,18 +39,19 @@ 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" = { @@ -60,7 +60,7 @@ in { }; }; - security.acme.email = "letsencrypt@dumpstack.io"; + security.acme.defaults.email = "letsencrypt@dumpstack.io"; security.acme.acceptTerms = true; services.nginx = {