Sets which portal backend should be used to provide the implementation for the requested interface. For details check portals.conf(5).
These will be written with the name $desktop-portals.conf
for xdg.portal.config.$desktop
and portals.conf
for xdg.portal.config.common
as an exception.
These, together with xdg.portal.configPackages
, will be joined into a directory and passed to xdg-desktop-portal.service
through a NIXOS_XDG_DESKTOP_PORTAL_CONFIG_DIR
variable.
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"
];
};
}