about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-10 08:44:05 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-10 08:44:05 -0800
commit4c9016f555bb5e3b3fa10ebd624cf888b05067bb (patch)
treebdf432a22096691e292f00512a3e8f2615d2597c /modules/services
parentfix(hosts/tahoe): workaround md raid boot uuid issue in 22.11 (diff)
downloadworld-4c9016f555bb5e3b3fa10ebd624cf888b05067bb.tar.gz
fix(modules/gitea): restore settings for nix 22.11
Diffstat (limited to '')
-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;
         };