Usage of KRDP instead of xrdp

Hello,

I’m using a NixOS headless machine where I have installed KDE 6 and xrdp using the following code snippet:

services = {
  desktopManager.plasma6.enable = true;

  displayManager.sddm.enable = true;

  xrdp = {
    defaultWindowManager = "startplasma-x11";
    enable = true;
    openFirewall = true;
  };

  xserver = {
    enable = true;

    xkb = {
      layout = "us";
      variant = "";
    };
  };
};

This configuration works, but use X11. KDE team has develop krdpserver in order to expose RDP but using Wayland. I see that on my machine it is installed but I don’t find anything about how to use it instead of xrdp.

Does anybody already use it for an headless machine ?

Thank you