Hello! I’ve started to play with NixOS in my free time and it’s been a great experience . I’m quite keen on having a minimal setup without any extraneous packages (where it can be helped).
Something that I’ve been trying to get working without success is skipping the display manager entirely and just using
startx to start my X server straight from the default virtual terminal after logging in as non-root.
I found this page on the Nix wiki, a couple of StackOverflow questions, and the Arch wiki quite helpful, and was hoping that once I had this working manually, I would write a derivation to handle the Xorg configs.
Unfortunately, I haven’t managed to get it working manually, I seem to be able to
startx into a black screen, but I am unable to use
bspwm (my window manager of choice). The X server log also comes up empty. I probably just have to spend a bit more time double checking my configs…
After giving this issue a read however, I started to wonder if the approach I was using was idiomatic Nix-ing. So I was wondering, are there any approaches that I can take to get this working that would fit the “Nix” way of working? Surely there must be a simpler way to do this? Thanks in advance!