From 19e9caf20780e9e4f0fabb71c4bbc935c5eba412 Mon Sep 17 00:00:00 2001 From: Morgan Jones Date: Sat, 18 Jul 2026 19:30:02 -0700 Subject: [PATCH] nixos/tests/immichframe: increase resources immich is quite demanding which leaves it out of reach if you have one core (e.g. on a laptop, when my EPYC P core was fine). Make the test look more like the test for immich. --- nixos/tests/web-apps/immichframe.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nixos/tests/web-apps/immichframe.nix b/nixos/tests/web-apps/immichframe.nix index dff57b5c27c2..810fe24b796d 100644 --- a/nixos/tests/web-apps/immichframe.nix +++ b/nixos/tests/web-apps/immichframe.nix @@ -31,9 +31,14 @@ in ../common/x11.nix ]; - # When setting this to 2500 I got "Kernel panic - not syncing: Out of + # When setting memory to 2500 I got "Kernel panic - not syncing: Out of # memory: compulsory panic_on_oom is enabled". - virtualisation.memorySize = 3000; + # Setting cores to 1 (the default) also makes immich take a long time to start up. + # If this breaks, keep synced with the immich test. + virtualisation = { + memorySize = 4096; + cores = 2; + }; hardware.graphics.enable = true; environment.variables.XAUTHORITY = "/home/${user}/.Xauthority"; test-support.displayManager.auto.user = user;