From 678386173563a30bcddd6bba611e093f82539415 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 7 Jan 2023 13:32:03 -0800 Subject: fix(modules/gitea): a number of options have been renamed --- modules/services/gitea/default.nix | 43 +++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 8 deletions(-) (limited to 'modules/services/gitea') diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 8ae02ae..fd91410 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -29,21 +29,34 @@ in services.gitea = { enable = true; user = "git"; - disableRegistration = true; domain = "git.fcuny.net"; appName = "git.fcuny.net"; rootUrl = "https://git.fcuny.net/"; httpAddress = "127.0.0.1"; httpPort = 8002; ssh.enable = false; - log.level = "Error"; settings = { - service.ENABLE_USER_HEATMAP = false; - other.SHOW_FOOTER_VERSION = false; - metrics.ENABLED = true; - metrics.ENABLED_ISSUE_BY_REPOSITORY = true; - repository.ENABLE_PUSH_CREATE_USER = true; - repository.DEFAULT_BRANCH = "main"; + log = { + LEVEL = "Error"; + }; + service = { + DISABLE_REGISTRATION = true; + ENABLE_USER_HEATMAP = false; + }; + server = { + DISABLE_SSH = true; + }; + other = { + SHOW_FOOTER_VERSION = false; + }; + metrics = { + ENABLED = true; + ENABLED_ISSUE_BY_REPOSITORY = true; + }; + repository = { + ENABLE_PUSH_CREATE_USER = true; + DEFAULT_BRANCH = "main"; + }; }; dump.enable = false; database = { @@ -73,3 +86,17 @@ in my.services.backup = { paths = [ cfg.stateDir ]; }; }; } +}; +} +}; +} +}; +} +}; +} +}; +} +}; +} +}; +} -- cgit 1.4.1