about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@gmail.com>2021-01-10 23:42:02 -0500
committerKira Bruneau <kira.bruneau@gmail.com>2021-01-11 19:22:22 -0500
commita13064ae2733f727e5e0fec70213e4c0b69567d2 (patch)
treefe6860189ef9954d659ee27820e4e2f1f5426e16 /nixos/modules/config
parentf0a7fce6ee72e574c2406bf1cfd1741c8d2cd07e (diff)
nixos/xdg/portal: fix loading portals from systemd service
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/xdg/portal.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/xdg/portal.nix b/nixos/modules/config/xdg/portal.nix
index 3c7cd729c60a6..80ec3126ca546 100644
--- a/nixos/modules/config/xdg/portal.nix
+++ b/nixos/modules/config/xdg/portal.nix
@@ -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";
       };