diff --git a/overlays/pathofbuilding/default.nix b/overlays/pathofbuilding/default.nix index b738b0f..9c49349 100644 --- a/overlays/pathofbuilding/default.nix +++ b/overlays/pathofbuilding/default.nix @@ -1,3 +1,8 @@ -{ channels, ... }: - -final: prev: { inherit (channels.nixpkgs-unstable) pobfrontend; } +{ ... }: +final: prev: { + path-of-building = prev.path-of-building.overrideAttrs (prevAttrs: { + postInstall = '' + wrapProgram $out/bin/pobfrontend --set QT_QPA_PLATFORM xcb + ''; + }); +} diff --git a/systems/x86_64-linux/loptland/default.nix b/systems/x86_64-linux/loptland/default.nix index 0434742..4d0708c 100644 --- a/systems/x86_64-linux/loptland/default.nix +++ b/systems/x86_64-linux/loptland/default.nix @@ -48,6 +48,9 @@ in useACMEHost = mkIf cfg.enableAcme domainName; locations."/" = { + extraConfig = '' + client_max_body_size 200M; + ''; proxyPass = "http://localhost:${toString forgejoPort}/"; }; };