nixos/display-managers: add sessionData.desktops to XDG_DATA_DIRS
Fixes #100108 Alternative to https://github.com/NixOS/nixpkgs/pull/100112 which doesn't break stuff.
This commit is contained in:
parent
5265d49a36
commit
755ba171c7
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user