diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix index 4aeaed8cd324..dedd0e63b5f1 100644 --- a/nixos/modules/services/x11/display-managers/lightdm.nix +++ b/nixos/modules/services/x11/display-managers/lightdm.nix @@ -65,7 +65,7 @@ let greeters-directory = ${cfg.greeter.package} sessions-directory = ${dmcfg.session.desktops} - [SeatDefaults] + [Seat:*] xserver-command = ${xserverWrapper} session-wrapper = ${dmcfg.session.script} greeter-session = ${cfg.greeter.name} @@ -124,6 +124,11 @@ in config = mkIf cfg.enable { + assertions = [ { + assertion = !config.services.accounts-daemon.enable; + message = "Lightdm does not properly support gnome accountservice"; + } ]; + services.xserver.displayManager.slim.enable = false; services.xserver.displayManager.job = {