Well that is weird. I’ve checked, and both on
master
andrelease-19.09
the display manager’s session script contains (because of the exec, if the test succeeds this will be the last command run by the script) :# Allow the user to setup a custom session type. if test -x ~/.xsession; then eval exec ~/.xsession "$@" fi
My bad ! You were right here, I set the value to ""
and it worked as intended.
(now it should be clear why I set
start
to""
: it should never be executed, as it’s a fake session that defers to.Xsession
).
Yes I do see it now, it was early in the morning on my way to work, I missed a thing
I’m already running the setup you described, but I did not need such a helper. Just a few lines in the system config to configure the special session for xsession, and the two patches in NixOS+nixpkgs to allow overriding the session at runtime.
Yes, indeed, I ended up with this setup too.
Thank you for your help