Revert "nixos/graphical-desktop: add sessions to pathsToLink" (#413675)
This reverts commit fbb577d3c5.
This is already controlled by `services.displayManager.sessionPackages`, as explained in https://github.com/NixOS/nixpkgs/pull/411518#issuecomment-2936523214.
Because of that PR, now xsessions and wayland session desktop files of every packages in `environment.systemPackages` are now being linked to `/run/current-system/sw/share`. This is highly unwanted behaviour.
This commit is contained in:
@@ -45,11 +45,6 @@ in
|
||||
nixos-icons # needed for gnome and pantheon about dialog, nixos-manual and maybe more
|
||||
xdg-utils
|
||||
];
|
||||
# needed for some display managers to locate desktop manager sessions
|
||||
pathsToLink = [
|
||||
"/share/xsessions"
|
||||
"/share/wayland-sessions"
|
||||
];
|
||||
};
|
||||
|
||||
fonts.enableDefaultPackages = lib.mkDefault true;
|
||||
|
||||
Reference in New Issue
Block a user