I’m one day into a transfer from Arch Linux Xmonad to NixOS (ultimately, with Xmonad) and I’ve encountered a problem. I’ve added another user, beside root, and have it pointing to my old home volume. I can login to both root and user on the command line. However, when I login from the dm, I can do so as root, whereas, as user I’m thrown straight back out to the dm. I’ve checked the logs and it seems that authentication is fine, but as soon as the session start is successful, it immediately stops. I’ve moved all X config files that I can recall, but I wonder if some existing configuration file isn’t causing problems. Maybe it’s a permissions problem.
Hope I’ve given enough information for you to appreciate the problem.
p.s. clean user works fine. Will copy stuff across and see where the problem lies…