programs/gnome-session: add package to system environment

This commit is contained in:
Gabriel Arazas 2024-01-03 15:40:02 +08:00
parent 3aef91614b
commit b30691629b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -548,7 +548,7 @@ in
{
# Install all of the desktop session files.
services.xserver.displayManager.sessionPackages = sessionPackages;
environment.systemPackages = sessionPackages;
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
# Make sure it is searchable within gnome-session.
environment.pathsToLink = [ "/share/gnome-session" ];