diff --git a/nixos/system/hectic-lab/hectic-lab.nix b/nixos/system/hectic-lab/hectic-lab.nix index 6fb341b5..9b875d84 100644 --- a/nixos/system/hectic-lab/hectic-lab.nix +++ b/nixos/system/hectic-lab/hectic-lab.nix @@ -546,7 +546,7 @@ in { enableACME = true; forceSSL = true; # NOTE(yukkop): allow large git pushes over HTTPS. - extraConfig = "client_max_body_size 512m;"; + extraConfig = "client_max_body_size 2g;"; locations."/" = { extraConfig = '' proxy_pass http://127.0.0.1:11011/; @@ -575,9 +575,9 @@ in { ROOT_URL = "https://gitea.${domain}/"; SSH_PORT = giteaSshPort; SSH_DOMAIN = "hectic-lab.com"; + LFS_MAX_FILE_SIZE = 2147483648; }; lfs.enable = true; - settings.lfs.LFS_MAX_FILE_SIZE = 536870912; database = { createDatabase = true; type = "postgres";