I meant that if your desktop environment does not do it and you use display manager, you can use services.xserver.updateDbusEnvironment NixOS option to have the session script generated by the display manager NixOS module do it for you.
I meant that if your desktop environment does not do it and you use display manager, you can use services.xserver.updateDbusEnvironment NixOS option to have the session script generated by the display manager NixOS module do it for you.