From 8043c0fee2b94969a1a3b4cdcee272640884126a Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Fri, 20 Mar 2026 18:11:58 -0400 Subject: [PATCH] removed fs limit --- .claude/settings.local.json | 8 ++++++++ system/machines/server/modules/forgejo/default.nix | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 .claude/settings.local.json diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 0000000..2aaeb46 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,8 @@ +{ + "permissions": { + "allow": [ + "WebSearch", + "WebFetch(domain:forgejo.org)" + ] + } +} diff --git a/system/machines/server/modules/forgejo/default.nix b/system/machines/server/modules/forgejo/default.nix index a4dcc42..95fc9de 100644 --- a/system/machines/server/modules/forgejo/default.nix +++ b/system/machines/server/modules/forgejo/default.nix @@ -62,6 +62,11 @@ in SSH_PORT = 22; START_SSH_SERVER = false; LANDING_PAGE = "explore"; + LFS_MAX_FILE_SIZE = 0; + }; + + "repository.upload" = { + FILE_MAX_SIZE = 0; }; service = { @@ -92,6 +97,7 @@ in services.nginx.virtualHosts."git.${domain}" = mkIf nginx.enable { useACMEHost = domain; forceSSL = true; + extraConfig = "client_max_body_size 0;"; locations."/" = { proxyPass = "http://unix:${socketPath}"; };