From 2de8ccce986b61cd6b6e72b4cdfe9a3d092b8607 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 10 Jan 2023 12:29:00 -0800 Subject: fix(modules/gitea): what a mess --- modules/services/gitea/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/services') diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 075d18e..3dd19eb 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -29,15 +29,15 @@ 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; - log.level = "Error"; - ssh.enable = false; settings = { + log = { + level = "Error"; + }; service = { ENABLE_USER_HEATMAP = false; }; @@ -52,6 +52,9 @@ in ENABLE_PUSH_CREATE_USER = true; DEFAULT_BRANCH = "main"; }; + server = { + DISABLE_SSH = true; + }; }; dump.enable = false; database = { -- cgit 1.4.1