nixos/xdg/portal: fix loading portals from systemd service
This commit is contained in:
parent
f0a7fce6ee
commit
a13064ae27
|
@ -62,7 +62,7 @@ with lib;
|
||||||
services.dbus.packages = packages;
|
services.dbus.packages = packages;
|
||||||
systemd.packages = packages;
|
systemd.packages = packages;
|
||||||
|
|
||||||
environment.variables = {
|
environment.sessionVariables = {
|
||||||
GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
|
GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
|
||||||
XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals";
|
XDG_DESKTOP_PORTAL_DIR = "${joinedPortals}/share/xdg-desktop-portal/portals";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue