nixos/gdm: do not force the session
Having a default session resulted in GDM not remembering the last used session. So do not force the session until setSessionScript is made aware of the last session used.
This commit is contained in:
parent
8ecb7203f9
commit
d04157fb98
@ -204,9 +204,12 @@ in
|
||||
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
|
||||
yes
|
||||
EOF
|
||||
'' + optionalString hasDefaultUserSession ''
|
||||
${setSessionScript}/bin/set-session ${defaultSessionName}
|
||||
'';
|
||||
''
|
||||
# TODO: Make setSessionScript aware of previously used sessions
|
||||
# + optionalString hasDefaultUserSession ''
|
||||
# ${setSessionScript}/bin/set-session ${defaultSessionName}
|
||||
# ''
|
||||
;
|
||||
};
|
||||
|
||||
# Because sd_login_monitor_new requires /run/systemd/machines
|
||||
|
Loading…
Reference in New Issue
Block a user