From fbb577d3c5efd3e49bb85b6aa5e70c724a4f873e Mon Sep 17 00:00:00 2001 From: eyJhb Date: Thu, 29 May 2025 09:49:44 +0200 Subject: [PATCH] nixos/graphical-desktop: add sessions to pathsToLink (#411518) Adds /share/xsessions and /share/wayland-sessions to pathsToLink, otherwise some desktopManagers are not found by the displayManager --- nixos/modules/services/misc/graphical-desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/services/misc/graphical-desktop.nix b/nixos/modules/services/misc/graphical-desktop.nix index 7f1e9b39210c..42aa44dde0da 100644 --- a/nixos/modules/services/misc/graphical-desktop.nix +++ b/nixos/modules/services/misc/graphical-desktop.nix @@ -45,6 +45,11 @@ 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;