about summary refs log tree commit diff
path: root/modules/services/gitea
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/gitea')
-rw-r--r--modules/services/gitea/default.nix9
1 files changed, 6 insertions, 3 deletions
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 = {