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
|
@ -204,9 +204,12 @@ in
|
||||||
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
|
cat - > /run/gdm/.config/gnome-initial-setup-done <<- EOF
|
||||||
yes
|
yes
|
||||||
EOF
|
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
|
# Because sd_login_monitor_new requires /run/systemd/machines
|
||||||
|
|
Loading…
Reference in a new issue