Skip to content

Commit

Permalink
Merge pull request #101274 from worldofpeace/gnome-logout-button
Browse files Browse the repository at this point in the history
nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRS
  • Loading branch information
worldofpeace committed Oct 23, 2020
2 parents e894c00 + 755ba17 commit b44e329
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nixos/modules/services/x11/display-managers/default.nix
Expand Up @@ -474,6 +474,12 @@ in
)
[dms wms]
);

# Make xsessions and wayland sessions available in XDG_DATA_DIRS
# as some programs have behavior that depends on them being present
environment.sessionVariables.XDG_DATA_DIRS = [
"${cfg.displayManager.sessionData.desktops}/share"
];
};

imports = [
Expand Down

0 comments on commit b44e329

Please sign in to comment.