I upgraded NixOS (rather late) from 19.09 to 20.03 as described in NixOS - NixOS 21.05 manual . Now I can’t start X anymore; the logs can be seen here: https://gist.github.com/corsinpfister/901f8c6439f82dac475bf06368aae2df
I get errors like these:
[ 27.571] (EE) Failed to load module “intel” (module does not exist, 0)
[ 27.573] (EE) Failed to load module “fbdev” (module does not exist, 0)
[ 27.573] (EE) Failed to load module “vesa” (module does not exist, 0)
[ 28.470] (EE) Failed to load module “libinput” (module does not exist, 0)
What could be the problem, any hints?
I’m rather new to NixOS and don’t know much about xorg, so any help is appreciated.
Can you show us your
hardware-configuration.nix and at least the parts of
configuration.nix which configures your
I assume the commented out lines in your
configuration.nix are usually used for desktop and you‘re using KDE?
Your xsession settings from the
configuration.nix work well for me, but I am on the unstable branch and I have some more stuff going on plus completely different
Can you add
services.xserver.videoDrivers = [ "intel" ]; to your settings and see if this changes anything (in the logs)?
Also it may be that the home-manager setting does something which makes the xserver fail. That’s what used to happen to me in the past. So commenting everything out in the home-manager config could be another try. If it then works, uncommenting block for block should point to the setting which is causing the problem.
PS: Greetings from Winterthur