diff options
author | Aaron Janse <aaron@ajanse.me> | 2019-03-12 22:23:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-12 22:23:05 -0700 |
commit | 56dcc319cffc18411fd9bda020f0fbd197d3e8ff (patch) | |
tree | dfbf06e2c18e5baaeb7317ff58a492da163558fc /nixos/doc | |
parent | 402e7f9d0a07968d83f68779ff8f2ffc84f6c745 (diff) | |
download | nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar.gz nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar.bz2 nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar.lz nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar.xz nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.tar.zst nixlib-56dcc319cffc18411fd9bda020f0fbd197d3e8ff.zip |
nixos/manual: document auto-login
fix #29526
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration/x-windows.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index e7d66f391f55..4d27375142fc 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -59,6 +59,32 @@ <screen> # systemctl start display-manager.service </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> <simplesect xml:id="sec-x11-graphics-cards-nvidia"> <title>NVIDIA Graphics Cards</title> |