nixos/pantheon, pantheon.elementary-greeter: Default to pantheon-wayland session

See elementary/session-settings issue 91.
This commit is contained in:
Bobby Rong 2025-09-14 11:14:41 +08:00
commit f5a8000150
No known key found for this signature in database
4 changed files with 17 additions and 5 deletions

View file

@ -121,7 +121,14 @@ in
# Without this, elementary LightDM greeter will pre-select non-existent `default` session
# https://github.com/elementary/greeter/issues/368
services.displayManager.defaultSession = mkDefault "pantheon";
services.displayManager.defaultSession = mkDefault "pantheon-wayland";
programs.dconf.profiles.user.databases = [
{
settings."io/elementary/greeter" = {
last-session-type = "pantheon-wayland";
};
}
];
environment.extraInit = ''
${concatMapStrings (p: ''