mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
parent
402e7f9d0a
commit
56dcc319cf
@ -59,6 +59,32 @@
|
|||||||
<screen>
|
<screen>
|
||||||
# systemctl start display-manager.service
|
# systemctl start display-manager.service
|
||||||
</screen>
|
</screen>
|
||||||
|
<simplesect xml:id="sec-x11-auto-login">
|
||||||
|
<title>Auto-login</title>
|
||||||
|
<para>
|
||||||
|
The x11 login screen can be skipped entirely, automatically logging you into
|
||||||
|
your window manager and desktop environment when you boot your computer.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
This is especially helpful if you have disk encryption enabled. Since you
|
||||||
|
already have to provide a password to decrypt your disk, entering a second
|
||||||
|
password to login can be redundant.
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
To enable auto-login, you need to define your default window manager and
|
||||||
|
desktop environment. If you wanted no desktop environment and i3 as your your
|
||||||
|
windowzmanager, you'd define:
|
||||||
|
<programlisting>
|
||||||
|
<xref linkend="opt-services.xserver.desktopManager.default"/> = "none";
|
||||||
|
<xref linkend="opt-services.xserver.windowManager.default"/> = "i3";
|
||||||
|
</programlisting>
|
||||||
|
And, finally, to enable auto-login for a user <literal>johndoe</literal>:
|
||||||
|
<programlisting>
|
||||||
|
<xref linkend="opt-services.xserver.displayManager.auto.enable"/> = true;
|
||||||
|
<xref linkend="opt-services.xserver.displayManager.auto.user"/> = "johndoe";
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
</simplesect>
|
||||||
</para>
|
</para>
|
||||||
<simplesect xml:id="sec-x11-graphics-cards-nvidia">
|
<simplesect xml:id="sec-x11-graphics-cards-nvidia">
|
||||||
<title>NVIDIA Graphics Cards</title>
|
<title>NVIDIA Graphics Cards</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user