mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user