From 4c9016f555bb5e3b3fa10ebd624cf888b05067bb Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 10 Jan 2023 08:44:05 -0800 Subject: fix(modules/gitea): restore settings for nix 22.11 --- modules/services/gitea/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/modules/services/gitea/default.nix b/modules/services/gitea/default.nix index 08afb35..075d18e 100644 --- a/modules/services/gitea/default.nix +++ b/modules/services/gitea/default.nix @@ -29,22 +29,18 @@ 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 = { - DISABLE_REGISTRATION = true; ENABLE_USER_HEATMAP = false; }; - server = { - DISABLE_SSH = true; - }; other = { SHOW_FOOTER_VERSION = false; }; -- cgit 1.4.1