From a61796db7eb90d692dd012cc4b6924bc61814db8 Mon Sep 17 00:00:00 2001 From: rycee Date: Wed, 3 Jan 2024 19:52:47 +0000 Subject: [PATCH] deploy: fcbc70a7ee064f2b65dc1fac1717ca2a9813bbe6 --- options.xhtml | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 163 insertions(+) diff --git a/options.xhtml b/options.xhtml index 88e3417dc..89b21153b 100644 --- a/options.xhtml +++ b/options.xhtml @@ -73852,6 +73852,169 @@ attribute set of ((list of string) or ((list of string) or string) convertible t +
+ + xdg.portal.enable + + +
+
+

Whether to enable XDG desktop integration.

+ +

Type: +boolean

+ +

Default: +false

+ +

Example: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg-portal.nix> + +
+
+
+ + xdg.portal.config + + +
+
+

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.

+ +

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"
+    ];
+  };
+}
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg-portal.nix> + +
+
+
+ + xdg.portal.configPackages + + +
+
+

List of packages that provide XDG desktop portal configuration, usually in +the form of share/xdg-desktop-portal/$desktop-portals.conf.

Note that configs in xdg.portal.config will be preferred if set.

+ +

Type: +list of package

+ +

Default: +[ ]

+ +

Example: +[ pkgs.gnome.gnome-session ]

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg-portal.nix> + +
+
+
+ + xdg.portal.extraPortals + + +
+
+

List of additional portals that should be passed to the +xdg-desktop-portal.service, via the XDG_DESKTOP_PORTAL_DIR +variable.

Portals allow interaction with system, like choosing files or taking +screenshots. At minimum, a desktop portal implementation should be +listed.

+ +

Type: +list of package

+ +

Default: +[ ]

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg-portal.nix> + +
+
+
+ + xdg.portal.xdgOpenUsePortal + + +
+
+

Sets environment variable NIXOS_XDG_OPEN_USE_PORTAL to 1 +This will make xdg-open use the portal to open programs, which resolves bugs involving +programs opening inside FHS envs or with unexpected env vars set from wrappers. +See #160923 for more info.

+ +

Type: +boolean

+ +

Default: +false

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg-portal.nix> + +
+
xdg.stateHome