MyNixOS website logo

Sets which portal backend should be used to provide the implementation for the requested interface. For details check portals.conf(5).

Configs will be linked to /etx/xdg/xdg-desktop-portal/ with the name $desktop-portals.conf for xdg.portal.config.$desktop and portals.conf for xdg.portal.config.common as an exception.

Declarations
Type
attribute set of attribute set of (string or ((list of string) or string) convertible to it)
Default
{ }
Example
{
  common = {
    default = [
      "gtk"
    ];
  };
  pantheon = {
    default = [
      "pantheon"
      "gtk"
    ];
    "org.freedesktop.impl.portal.Secret" = [
      "gnome-keyring"
    ];
  };
  x-cinnamon = {
    default = [
      "xapp"
      "gtk"
    ];
  };
}