nixos/programs/{sessiond,gnome-session}: update desktop session attribute

This commit is contained in:
Gabriel Arazas 2024-04-13 13:17:00 +08:00
parent 39d79c7eef
commit 3bf53acb58
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ in
config = lib.mkIf (cfg.sessions != { }) {
# Install all of the desktop session files.
services.xserver.displayManager.sessionPackages = sessionPackages;
services.displayManager.sessionData = sessionPackages;
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
# Make sure it is searchable within gnome-session.

View File

@ -186,7 +186,7 @@ in
environment.systemPackages = [ cfg.package ];
# Install all of the desktop session files.
services.xserver.displayManager.sessionPackages = sessionPackages;
services.displayManager.sessionData = sessionPackages;
# Import those systemd units from sessiond as well.
systemd.packages = [ cfg.package ];