Merge pull request #109060 from MetaDark/nixos/xdg/portal

nixos/xdg/portal: fix loading portals from systemd service
This commit is contained in:
WORLDofPEACE 2021-01-20 03:29:16 -05:00 committed by GitHub
commit 35ad1687a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ with lib;
services.dbus.packages = packages;
systemd.packages = packages;
environment.variables = {
environment.sessionVariables = {
GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals";
};