mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +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 != { }) {
|
config = lib.mkIf (cfg.sessions != { }) {
|
||||||
# Install all of the desktop session files.
|
# Install all of the desktop session files.
|
||||||
services.xserver.displayManager.sessionPackages = sessionPackages;
|
services.displayManager.sessionData = sessionPackages;
|
||||||
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
|
environment.systemPackages = [ cfg.package ] ++ sessionPackages;
|
||||||
|
|
||||||
# Make sure it is searchable within gnome-session.
|
# Make sure it is searchable within gnome-session.
|
||||||
|
@ -186,7 +186,7 @@ in
|
|||||||
environment.systemPackages = [ cfg.package ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
# Install all of the desktop session files.
|
# Install all of the desktop session files.
|
||||||
services.xserver.displayManager.sessionPackages = sessionPackages;
|
services.displayManager.sessionData = sessionPackages;
|
||||||
|
|
||||||
# Import those systemd units from sessiond as well.
|
# Import those systemd units from sessiond as well.
|
||||||
systemd.packages = [ cfg.package ];
|
systemd.packages = [ cfg.package ];
|
||||||
|
Loading…
Reference in New Issue
Block a user