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.
This commit is contained in:
Morgan Jones
2026-07-18 19:30:02 -07:00
parent 36747ba311
commit 19e9caf207

View File

@@ -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;