summary refs log tree commit diff
diff options
context:
space:
mode:
authorWORLDofPEACE <worldofpeace@protonmail.ch>2021-01-20 03:29:16 -0500
committerGitHub <noreply@github.com>2021-01-20 03:29:16 -0500
commit35ad1687a73228b11c778eb102e05d0a23e014ab (patch)
treeed8f6223794045b4ec608b595c87a1f87e1ede4b
parent1f32ecb82de1a09c5f91bd8b0725312b92c30bcc (diff)
parenta13064ae2733f727e5e0fec70213e4c0b69567d2 (diff)
downloadnixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar.gz
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar.bz2
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar.lz
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar.xz
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.tar.zst
nixpkgs-35ad1687a73228b11c778eb102e05d0a23e014ab.zip
Merge pull request #109060 from MetaDark/nixos/xdg/portal
nixos/xdg/portal: fix loading portals from systemd service
-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 3c7cd729c60..80ec3126ca5 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";
       };