How to do XWayland on Nixos

the niri wiki just describes how to use xwayland-satellite. just add that to your config, then run it and then run your app.

for example when I want to run yourX11App I do this in two terminal windows

$ xwayland-satellite
$ env DISPLAY=:0 yourX11App

there may be edge cases but this works as a quick way without having to suck up resources.

1 Like