After installing sway it fails to launch from the command line. The
resulting error is
XDG_RUNTIME_DIR is not set in the environment. Aborting.
This can be resolved either by setting XDG_RUNTIME_DIR, for example in
a shell startup file, or by using and elogind service in you configuration on Guix
System.
I hope that helps.