phosh/lightdm: configure default xorg session
This commit is contained in:
@@ -78,6 +78,9 @@ in
|
|||||||
}
|
}
|
||||||
(mkIf cfg.useGreeter {
|
(mkIf cfg.useGreeter {
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
# 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
|
||||||
|
services.xserver.displayManager.defaultSession = "sm.puri.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;
|
||||||
|
Reference in New Issue
Block a user