Skip to content

Commit 5966fc8

Browse files
authored
xdg-portal: improve description of extraPortals (#6760)
- Specified more clearly how the extra portals affect the environment
1 parent df09fb5 commit 5966fc8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

modules/misc/xdg-portal.nix

+6-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ in {
3535
type = types.listOf types.package;
3636
default = [ ];
3737
description = ''
38-
List of additional portals that should be passed to the
39-
`xdg-desktop-portal.service`, via the `XDG_DESKTOP_PORTAL_DIR`
40-
variable.
38+
List of additional portals that should be added to the environment.
39+
40+
The directory where the portal definitions have been merged together
41+
(likely `~/.nix-profile/share/xdg-desktop-portal/portals`) will get
42+
passed to `xdg-desktop-portal.service` via the
43+
`NIX_XDG_DESKTOP_PORTAL_DIR` environment variable.
4144
4245
Portals allow interaction with system, like choosing files or taking
4346
screenshots. At minimum, a desktop portal implementation should be

0 commit comments

Comments
 (0)