phosh: lightdm: configure user-session so that the greeter properly launches phosh

This commit is contained in:
2022-10-20 23:20:19 -07:00
parent 33110dc1d9
commit 25df2ebc28

View File

@@ -81,6 +81,9 @@ in
# NB: setting defaultSession has the critical side-effect that it lets org.freedesktop.AccountsService # NB: setting defaultSession has the critical side-effect that it lets org.freedesktop.AccountsService
# know that our user exists. this ensures lightdm succeeds when calling /org/freedesktop/AccountsServices ListCachedUsers # know that our user exists. this ensures lightdm succeeds when calling /org/freedesktop/AccountsServices ListCachedUsers
services.xserver.displayManager.defaultSession = "sm.puri.Phosh"; services.xserver.displayManager.defaultSession = "sm.puri.Phosh";
services.xserver.displayManager.lightdm.extraSeatDefaults = ''
user-session = phosh
'';
services.xserver.displayManager.lightdm.greeters.gtk.enable = false; # gtk greeter overrides our own? services.xserver.displayManager.lightdm.greeters.gtk.enable = false; # gtk greeter overrides our own?
services.xserver.displayManager.lightdm.greeter = { services.xserver.displayManager.lightdm.greeter = {
enable = true; enable = true;