"nixos-install failed" while installing Nix on VirtualBox

Hi, I am new to Nix and I am trying to install it on a VM on an Arch Linux host. The installation fails with the error code: nixos-install failed (very descriptive error code). I am using the graphical installer and I have tried both LTS and the latest kernel (installer).

Here are the logs:

https://termbin.com/rrnb

Scrolling through the logs myself, looks like it fails to build the vboxvideo module and guest additions.
VM information:

  1. 4 CPUs
  2. 4 GB RAM
  3. 32 GB storage
  4. EFI is enabled

Host information:

  1. Arch Linux (all software is up to date)
  2. CPU: i5-1135G7, using iGPU
  3. Virtualization is enabled as always

There is no real error in the posted logs. Either there is something really off, or the logs are truncated.

Though 4GiB of RAM appear to be really little.

Also 32GiB of disk space can be quite little, if you don’t know how to deal with it.

If you are constrained like this, the manual installation from a graphical ISO with Gparted might be a lot easier to do and allows for much better control.

…the logs are truncated.

The installer presented me an option to upload the logs to a pastebin, so the output you are seeing is from that.
The logs do seem truncated, at the end there is an incomplete URL.
I also tried installing again and the logs https://termbin.com/y86w also seem to be truncated.
I am going to try out the manual method next.

Those logs show enough. Use kernel 6.18, not latest.

I tried LTS (there is no 6.18, either 6.19 (latest) or 6.12 (LTS)) and installation completes successfully. I may have mentioned incorrectly that I have tried using LTS in the first post. Thank you for your help.