diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-02-08 06:57:47 +0100 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2020-02-10 12:55:25 -0500 |
commit | f1aa8416d72ba509b2e1b2d30c8aa470a34bc34f (patch) | |
tree | 941797c65a2091fb2a26ef35c46b61a05ce22089 /nixos/modules | |
parent | fefc7d8c9c9014e4667d0b6b695068cce65e8bd4 (diff) |
xdg-desktop-portal: 1.4.2 → 1.6.0
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.6.0
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.4
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.3
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.2
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.1
* https://github.com/flatpak/xdg-desktop-portal/releases/tag/1.5.0
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/config/xdg/portal.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/config/xdg/portal.nix b/nixos/modules/config/xdg/portal.nix index 95fa8e05fa3f..1330a08070c1 100644 --- a/nixos/modules/config/xdg/portal.nix +++ b/nixos/modules/config/xdg/portal.nix @@ -42,6 +42,10 @@ with lib; let cfg = config.xdg.portal; packages = [ pkgs.xdg-desktop-portal ] ++ cfg.extraPortals; + joinedPortals = pkgs.symlinkJoin { + name = "xdg-portals"; + paths = cfg.extraPortals; + }; in mkIf cfg.enable { @@ -56,7 +60,7 @@ with lib; environment.variables = { GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1"; - XDG_DESKTOP_PORTAL_PATH = map (p: "${p}/share/xdg-desktop-portal/portals") cfg.extraPortals; + XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals"; }; }; } |