Merge pull request #101274 from worldofpeace/gnome-logout-button

nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRS
This commit is contained in:
WORLDofPEACE 2020-10-23 11:46:46 -04:00 committed by GitHub
commit b44e32988c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [