···296296 virtualisation.memorySize =
297297 mkOption {
298298 type = types.ints.positive;
299299- default = 384;
299299+ default = 1024;
300300 description =
301301 ''
302302 The memory size in megabytes of the virtual machine.
-4
nixos/tests/airsonic.nix
···1111 enable = true;
1212 maxMemory = 800;
1313 };
1414-1515- # Airsonic is a Java application, and unfortunately requires a significant
1616- # amount of memory.
1717- virtualisation.memorySize = 1024;
1814 };
19152016 testScript = ''
-1
nixos/tests/cage.nix
···1717 program = "${pkgs.xterm}/bin/xterm -cm -pc -fa Monospace -fs 24";
1818 };
19192020- virtualisation.memorySize = 1024;
2120 # Need to switch to a different GPU driver than the default one (-vga std) so that Cage can launch:
2221 virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
2322 };
-1
nixos/tests/cagebreak.nix
···3535 programs.xwayland.enable = true;
3636 environment.systemPackages = [ pkgs.cagebreak pkgs.wayland-utils ];
37373838- virtualisation.memorySize = 1024;
3938 # Need to switch to a different GPU driver than the default one (-vga std) so that Cagebreak can launch:
4039 virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
4140 };
···1414 nix.binaryCaches = []; # don't try to access cache.nixos.org
15151616 virtualisation.writableStore = true;
1717- virtualisation.memorySize = 1024;
1817 # Make sure we always have all the required dependencies for creating a
1918 # container available within the VM, because we don't have network access.
2019 virtualisation.additionalPaths = let
···1313 pkgs.xdotool
1414 ];
15151616- # Need some more memory to record audio.
1717- virtualisation.memorySize = 500;
1818-1916 # Create a virtual sound device, with mixing
2017 # and all, for recording audio.
2118 boot.kernelModules = [ "snd-aloop" ];
···1919 user = "alice";
2020 };
2121 hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
2222- virtualisation.memorySize = 1024;
2322 };
24232524 testScript = { nodes, ... }: let
···4444 # To test pinentry via gpg-agent:
4545 programs.gnupg.agent.enable = true;
46464747- virtualisation.memorySize = 1024;
4847 # Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch:
4948 virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
5049 };
···23232424 hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
25252626- virtualisation.memorySize = 1024;
2726 };
28272928 testScript = { nodes, ... }: let