Hyprland screen sharing

I had screen sharing working fine on hyprland, but then it stopped.
I tried looking through my flake, commit history to see what is could be, that have changed and found nothing.

My flake here, and in the NixOS config, I have:

  imports = [
    inputs.hyprland.nixosModules.default
  ];
  programs = {
    hyprland = {
      enable = true;
      package = inputs.hyprland.packages.${pkgs.system}.hyprland;
      xwayland.enable = true;
    };
  };

  # Set session variables
  environment = {
    variables = {
      # If cursor is not visible, try to set this to "on".
      XDG_CURRENT_DESKTOP = "Hyprland";
      XDG_SESSION_TYPE = "wayland";
      XDG_SESSION_DESKTOP = "Hyprland";
    };
    sessionVariables = {
      MOZ_ENABLE_WAYLAND = "1";
      NIXOS_OZONE_WL = "1";
      T_QPA_PLATFORM = "wayland";
      GDK_BACKEND = "wayland";
      WLR_NO_HARDWARE_CURSORS = "1";
    };
  };

  xdg.portal = {
    enable = true;
    xdgOpenUsePortal = true;
    config = {
      common.default = ["gtk"];
      hyprland.default = ["gtk" "hyprland"];
    };
    extraPortals = [
      pkgs.xdg-desktop-portal-gtk
      pkgs.xdg-desktop-portal-wlr
      pkgs.xdg-desktop-portal-hyprland
    ];
  };

I also have wireplumber and pipewire.
In my home-manager config I got:

  wayland.windowManager.hyprland = {
    enable = true;
    systemd.enable = true;
  };

  home.packages = [
    pkgs.ranger
    pkgs.pcmanfm
    pkgs.wayshot
    pkgs.sway-contrib.grimshot
    pkgs.pavucontrol
    pkgs.pulsemixer

    inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
  ];

Maybe I am missing something here, which is highly likely.
But any help would be much appreciated.

I have to say, I get option to share both my entire screen and application. But they are just blank.