Gwenview missing from xdg mime

Hey, I use hyprland, I have gwenview installed, but when I try to open an image in dolphin, gwenview doesn’t even show up as an option.

How did you install gwenview? Share nix code.

  environment.systemPackages = with pkgs; [
    kdePackages.gwenview
  ];

nixos config