nixos/xdg/portal: fix loading portals from systemd service

This commit is contained in:
Kira Bruneau 2021-01-10 23:42:02 -05:00
parent f0a7fce6ee
commit a13064ae27

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