I’m completely new to NixOS and wanted to give it a shot on my newly built machine.
It’s built with a Ryzen 7950x and currently I use its IGPU until I bought a new dedicated GPU.
I installed NixOS with the latest graphical installer. After the installation I wasn’t booted into the display manager but landed in the tty instead. I know that the necessary drivers for AMD Raphael came with Linux Kernel 6.0 - therefore I changed to the latest Kernel by adding
boot.kernelPackages = pkgs.linuxPackages_latest; to my configuration.nix file.
I also checked for updates with
nix-channel --update and rebuild everything with
sudo nixos-rebuild switch --upgrade.
After restarting and selecting the newest build I booted into LightDM and was able to login to XFCE. But once I rebooted, XFCE starts flickering white, while LightDM doesn’t. It’s more or less the same with KDE Plasma and Gnome. LightDM is completely fine, but once logged in the screen is completely white and I can only see my cursor (with both DEs). If I open the tty I can see the desktop environment for a split second.
Do I need to add something else to my
configuration.nixfile or even to
hardware-configuration.nix to make it work? It seems like the IGPU of the Raphael CPU is the culprit. Unfortunately I don’t have a dedicated GPU lying around to test with.