Gale not working

Hello,
I am trying to install gale, here is what I did:

  1. Add pkgs.gale to environment.systemPackages in configuration.nix
  2. Run sudo -E nixos-rebuild switch
  3. Run gale

Result:

21:52:12 [ERROR] failed to register deep link: No such file or directory (os error 2)
Gdk-Message: 22:52:12.447: Error 71 (Protocol error) dispatching to Wayland display.

The window opens for a split second and then closes

I also tried to nix flake update (and rebuild) which did not help

I was not able to diagnose further, nor find anyone with the same issue

I am using KDE plasma on wayland

Has anyone else had this problem ?
How could I diagnose where this comes from ?