Accessing 'desktops' resource to pass Wayland sessions as argument to tuigreet

While attempting to provide my Wayland .desktop session files as arguments to the tuigreet greeter, I discovered the resource derivation /nix/store/prh7hiwpvhza4sj4di6hg1zys880gwih-desktops/ which includes files for both Wayland and Xorg sessions.

I’m curious if there’s a way to access this via the config argument, or through a comparable approach, especially since I couldn’t find any relevant information in the documentation.

{ config, lib, pkgs, ... }:
  sessionPackages =;
  sessionPackagesWithWaylandSessions = map (pkg: "${pkg}/share/wayland-sessions") sessionPackages;
  sessionPackagesPath = lib.concatStringsSep ":" sessionPackagesWithWaylandSessions;
  services.greetd = {
    enable = true;
    settings = {
      default_session = {
        command = "${pkgs.greetd.tuigreet}/bin/tuigreet --user-menu -t -r -s ${sessionPackagesPath}";
        user = "greeter";
      # ...
  # ...

I think that path is available in the attribute.

This is exactly what I was looking for, thanks.