Merge pull request #75489 from hedning/gdm-only-default-with-auto
nixos/gdm: only set session on auto login
This commit is contained in:
commit
d3a9b098d5
1 changed files with 6 additions and 3 deletions
|
@ -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 a new issue