workflows/mosey-branch: add gnome-session sessions in system

This commit is contained in:
Gabriel Arazas 2023-08-21 21:37:15 +08:00
parent 4d637cc249
commit 3e4570e265
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -119,6 +119,10 @@ in
environment.systemPackages = cfg.extraApps ++ requiredPackages; environment.systemPackages = cfg.extraApps ++ requiredPackages;
systemd.packages = [ customDesktopSession ]; systemd.packages = [ customDesktopSession ];
# We'll have to include them for gnome-session to recognize it in NixOS
# systems.
environment.pathsToLink = [ "/share/gnome-session" ];
environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1"; environment.sessionVariables.GNOME_SESSION_DEBUG = lib.mkIf cfg.debug "1";
# Our preferred display manager. # Our preferred display manager.