nixos/pantheon: mkDefault value for defaultSession

Fixes #86907
This commit is contained in:
Jakub Fišer 2020-05-05 10:37:36 +02:00
parent 8471593028
commit c04989da24

View File

@ -109,7 +109,7 @@ in
# Without this, elementary LightDM greeter will pre-select non-existent `default` session
# https://github.com/elementary/greeter/issues/368
services.xserver.displayManager.defaultSession = "pantheon";
services.xserver.displayManager.defaultSession = mkDefault "pantheon";
services.xserver.displayManager.sessionCommands = ''
if test "$XDG_CURRENT_DESKTOP" = "Pantheon"; then