mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
nixos/programs/{sessiond,gnome-session}: update desktop session attribute
This commit is contained in:
parent
39d79c7eef
commit
3bf53acb58
@ -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.
|
||||
|
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user