diff options
author | Kira Bruneau <kira.bruneau@gmail.com> | 2021-01-10 23:42:02 -0500 |
---|---|---|
committer | Kira Bruneau <kira.bruneau@gmail.com> | 2021-01-11 19:22:22 -0500 |
commit | a13064ae2733f727e5e0fec70213e4c0b69567d2 (patch) | |
tree | fe6860189ef9954d659ee27820e4e2f1f5426e16 /nixos/modules/config | |
parent | f0a7fce6ee72e574c2406bf1cfd1741c8d2cd07e (diff) |
nixos/xdg/portal: fix loading portals from systemd service
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/xdg/portal.nix | 2 |
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"; }; |