From 2db7f29de5ec87c2fb0f586533f5d8e6991b6029 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Thu, 12 Jun 2025 22:36:42 +0200 Subject: [PATCH 1/2] pob: make sure it runs with the proper QT_QPA_PLATFORM --- overlays/pathofbuilding/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 + ''; + }); +} From b441792a6b72454be2ea545e5f045a602b01f5e0 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Thu, 12 Jun 2025 22:38:27 +0200 Subject: [PATCH 2/2] loptland: allow connections to git to be <200mb for large lfs files --- systems/x86_64-linux/loptland/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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}/"; }; };