about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-10 12:29:00 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-10 12:29:00 -0800
commit2de8ccce986b61cd6b6e72b4cdfe9a3d092b8607 (patch)
tree0817dd4b00881813b1a688b7db53bdea986806ca /modules/services
parentref(modules/nix): update a number of settings for nix (diff)
downloadworld-2de8ccce986b61cd6b6e72b4cdfe9a3d092b8607.tar.gz
fix(modules/gitea): what a mess
Diffstat (limited to 'modules/services')
-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 = {