nixos-test: reduce RAM to 1GB

This commit is contained in:
Jörg Thalheim 2024-06-07 15:15:44 +02:00 committed by mergify[bot]
parent f267906ba6
commit faed128eee

View file

@ -25,8 +25,7 @@ makeTest' {
]; ];
system.extraDependencies = [ kexecTarball ]; system.extraDependencies = [ kexecTarball ];
# TODO: remove the conditional after 23.11 is end-of-life virtualisation.memorySize = 1 * 1024;
virtualisation.memorySize = 1 * 1024 + (if (lib.versionOlder lib.version "24.05pre") then 256 else 0);
virtualisation.diskSize = 4 * 1024; virtualisation.diskSize = 4 * 1024;
virtualisation.forwardPorts = [{ virtualisation.forwardPorts = [{
host.port = 2222; host.port = 2222;