nixos/pantheon: enable lightdm gtk greeter

Pantheon's greeter has numerous issues that cannot be
fixed in a timely manner, and users are better off if they just
didn't use it by default.
This commit is contained in:
worldofpeace 2019-03-29 21:29:59 -04:00
parent 8137fa520b
commit 099cc0482b
2 changed files with 8 additions and 3 deletions

View file

@ -32,7 +32,7 @@
<note>
<para>
<varname>services.xserver.desktopManager.pantheon</varname> default
enables lightdm as a display manager and using Pantheon's greeter.
enables lightdm as a display manager.
</para>
<para>
This is because of limitations with the screenlocking implementation,
@ -50,7 +50,7 @@
</listitem>
<listitem>
<para>
<option>services.xserver.displayManager.lightdm.greeters.pantheon.enable</option>
<option>services.xserver.displayManager.lightdm.greeters.gtk.enable</option>
</para>
</listitem>
</itemizedlist>
@ -58,6 +58,11 @@
to <literal>false</literal> and enable your preferred display manager.
</para>
</note>
<para>
Also be aware that we haven't enabled lightdm with Pantheon's greeter by
default. That's because it has numerous issues in NixOS and isn't optimal
for use here yet.
</para>
</listitem>
<listitem>
<para>

View file

@ -74,7 +74,7 @@ in
# Ensure lightdm is used when Pantheon is enabled
# Without it screen locking will be nonfunctional because of the use of lightlocker
services.xserver.displayManager.lightdm.enable = mkDefault true;
services.xserver.displayManager.lightdm.greeters.pantheon.enable = mkDefault true;
services.xserver.displayManager.lightdm.greeters.gtk.enable = mkDefault true;
# If not set manually Pantheon session cannot be started
# Known issue of https://github.com/NixOS/nixpkgs/pull/43992