From 4b6f021251e60af9f61311e116eef043a2ed0d5d Mon Sep 17 00:00:00 2001 From: obadz Date: Sun, 26 Feb 2017 16:22:21 +0000 Subject: [PATCH] Revert "lightdm: obbey services.xserver.{window/desktop}Manager.default" This reverts commit 29caa185a7e4aaa0d621a4f117f3e8f653261fda. Not clear what the proper thing to do is. cf94cdb59b renders this question mostly moot. Reverting before 17.03 branch to avoid a repeat of #19054. --- nixos/modules/services/x11/display-managers/lightdm.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix index 4afef32aaa4..82b9a2fce5a 100644 --- a/nixos/modules/services/x11/display-managers/lightdm.nix +++ b/nixos/modules/services/x11/display-managers/lightdm.nix @@ -46,15 +46,13 @@ 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} '';