1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

xdg-portal: improve description of extraPortals (#6760)

- Specified more clearly how the extra portals affect the environment
This commit is contained in:
Axel Karjalainen 2025-04-08 17:46:20 +03:00 committed by GitHub
parent df09fb5981
commit 5966fc8bd1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,9 +35,12 @@ in {
type = types.listOf types.package;
default = [ ];
description = ''
List of additional portals that should be passed to the
`xdg-desktop-portal.service`, via the `XDG_DESKTOP_PORTAL_DIR`
variable.
List of additional portals that should be added to the environment.
The directory where the portal definitions have been merged together
(likely `~/.nix-profile/share/xdg-desktop-portal/portals`) will get
passed to `xdg-desktop-portal.service` via the
`NIX_XDG_DESKTOP_PORTAL_DIR` environment variable.
Portals allow interaction with system, like choosing files or taking
screenshots. At minimum, a desktop portal implementation should be