diff options
author | WORLDofPEACE <worldofpeace@protonmail.ch> | 2021-01-20 03:29:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 03:29:16 -0500 |
commit | 35ad1687a73228b11c778eb102e05d0a23e014ab (patch) | |
tree | ed8f6223794045b4ec608b595c87a1f87e1ede4b /nixos/modules/config | |
parent | 1f32ecb82de1a09c5f91bd8b0725312b92c30bcc (diff) | |
parent | a13064ae2733f727e5e0fec70213e4c0b69567d2 (diff) |
Merge pull request #109060 from MetaDark/nixos/xdg/portal
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"; }; |