NixOS hangs on `Finished Kernel Auditing`

Hello, I recently decided to try installing nixos on one of my more recent builds.

  • CPU: AMD AM5 7950X3D
  • GPU: RTX 4080

I got through the graphical install phase and it went pretty smoothly but once I reboot the farthest I can get is to: Finished Kernel Auditing before it seems to just get stuck.

Any help is appreciated as I know, Nvidia is not my friend here :slightly_smiling_face:

To further elaborate I chose Plasma for the installer and DE

Just got it working! My steps to solving the issue were as follows:

  1. boot to live installer environment (picked the nomodeset option since itโ€™s the only one that would work)
  2. finish installation with the gnome DE, since Iโ€™m more familiar
  3. go about mounting the partitions sudo mount /dev/nvme1n1p1 /mnt/boot & sudo mount /dev/nvme1n1p2 /mnt
  4. enter nixos sudo nixos-enter
  5. go to nix configuration file cd /etc/nixos & sudo nano configuration.nix
  6. copy and paste the recommended Nvidia config options and make sure to allow unfree packages, doing this step was the key since the problem was that nouveau was crashing
  7. sudo nixos-rebuild boot and then exit
  8. reboot system, sudo reboot
  9. booted to UEFI OS and it worked :slightly_smiling_face:
1 Like