Issue in using electron app on wayland, nixos
Issue in using electron app on wayland, nixos
I want to use an electron based app named trilium notes on my system.I got wayland/niri on nixosI installed trilium by writing it in configuration.nix and rebuilt system but after starting trillium it gives following error
[7292:0311/205146.782132:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY[7292:0311/205146.782227:ERROR:env.cc(255)] The platform failed to initialize. Exiting.The futex facility returned an unexpected error code.Aborted (core dumped)
I tried setting ELECTRON_OZONE_PLATFORM_HINT=auto and DISPLAY=:0 in all three combinations.This is all I got from internet.And nothing worked.
So basically I need help from communityThanks