about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/gitea/default.nix10
1 files 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;
         };