From 4d8447ccb20d018b5193c0df1ec50753a9914ac5 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 29 Jan 2026 11:45:30 -0800 Subject: [PATCH] Increase gitea-runner container shared memory to 2GB The default 64MB shm-size is too small for Metro/Gradle builds. Co-Authored-By: Claude Opus 4.5 --- nixos/gitea-runner.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/gitea-runner.nix b/nixos/gitea-runner.nix index 6aca16ee..467cd034 100644 --- a/nixos/gitea-runner.nix +++ b/nixos/gitea-runner.nix @@ -14,6 +14,8 @@ makeEnable config "myModules.gitea-runner" false { }; container = { workdir_parent = "${gitea-runner-directory}/workspace"; + # Increase shared memory for containers (default 64MB is too small for Metro/Gradle) + options = "--shm-size=2g"; }; host = { workdir_parent = "${gitea-runner-directory}/action-cache-dir";