lightdm: obbey services.xserver.{window/desktop}Manager.default

nixos-19.03
obadz 6 years ago
parent a20c2ce4b8
commit 29caa185a7
  1. 4
      nixos/modules/services/x11/display-managers/lightdm.nix

@ -46,13 +46,15 @@ let
[Seat:*]
xserver-command = ${xserverWrapper}
session-wrapper = ${dmcfg.session.script}
${optionalString (elem defaultSessionName dmcfg.session.names) ''
user-session = ${defaultSessionName}
''}
${optionalString cfg.greeter.enable ''
greeter-session = ${cfg.greeter.name}
''}
${optionalString cfg.autoLogin.enable ''
autologin-user = ${cfg.autoLogin.user}
autologin-user-timeout = ${toString cfg.autoLogin.timeout}
autologin-session = ${defaultSessionName}
''}
${cfg.extraSeatDefaults}
'';

Loading…
Cancel
Save