Can't install NixOS via graphical installer (Nvidia - nomodeset)

I was installing NixOS from the gnome version, I encounter this weird bug when booting to the installer the process halted. And the rest is just an underscore _ beeping over and over. I tried both nomodeset and normal option but neither seems to work. This issues is present in other iso as well like partedmagic. But the voidlinux installer having the nomodeset kernel parameter run fine.

TLDR: I can’t install NixOS due to some sort of bugs (maybe Nvidia related)
suggest me some kernel parameters

Spec: Lenovo Legion 7 16achg6, RTX 3080, AMD Ryzen 9 5900HX


It stopped at this screen for hours:

If I didn’t use nomodeset the screen will display a bunch of texts and errors. Tell me if you need that.
Thanks in advance! I’m so eager to try this OS

What did you use to create the bootable drive?

You can probably press space key on the boot animation to show what’s going on with systemd journal.

1 Like

Pretty sure it’s escape, not spacebar, that shows the boot log.

NixOS graphical install images do not include the proprietary NVIDIA drivers and your system can’t boot with Mesa’s NVK either. It’s hard to tell what’s causing this issue if you say Void Linux’s image seems to work. Debugging NVIDIA issues is not my forté but there are workarounds.

Does the minimal image boot? If it does, you can use that image as a workaround (though you will have to use wpa_supplicant to connect to a wireless network instead of Network Manager[^1]

nixos-generate-config --root /mnt does all the magic of the calamares installer anyway.

1: NixOS Installation Guide - NixOS Wiki and wpa_supplicant - ArchWiki

Pretty sure NVK is entirely irrelevant here. That’s just a vulkan implementation, which is not needed to boot a graphical environment. The system should be able to boot with nouveau fine.

Oh I forgot to mention that I was using ventoy to boot the NixOs installer.

Thank for the suggestion. But I’m pretty tired of working with bare-metal installer from arch and void. Also I want to fix this problem so I don’t have to tackle it in the future. NixOs minimal does boot fine tho

Don’t use Ventoy. I’ve looked at how it works and it’s demonstrably unreliable with NixOS. It works some large percentage of the time, but it’s very common for a given build of the NixOS ISO to just not work with Ventoy. It’s best to just use dd or Balena Etcher or something.

(For the record, the way Ventoy works is by committing unspeakable crimes against initramfs, including injecting its own prebuilt binaries that are just checked into its github repo, not built from source, and likely in violation of the GPL)

1 Like

I switched to Balena Etcher still got the error

Maybe the iso is corrupted let me check

Yea, that does look like corruption.