diff options
author | Lassulus <github@lassul.us> | 2019-04-27 16:07:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-27 16:07:06 +0900 |
commit | f099d3d8b66ab2a563689efeff0fabd94387c368 (patch) | |
tree | ff78614f247f1186c56c64f27dc3026f4119590d /nixos/doc/manual/configuration/x-windows.xml | |
parent | 21fe4fd17677412ea9fcd8c2198baeff83b2edd3 (diff) | |
parent | bd9b82dece4f652dc27e66e0d62b200accf4cb88 (diff) | |
download | nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar.gz nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar.bz2 nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar.lz nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar.xz nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.tar.zst nixpkgs-f099d3d8b66ab2a563689efeff0fabd94387c368.zip |
Merge pull request #57561 from aaronjanse/patch-5
nixos/manual: document auto-login
Diffstat (limited to 'nixos/doc/manual/configuration/x-windows.xml')
-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 3bcb288b5eb..4e37a4c053a 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 + window manager, 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> On 64-bit systems, if you want OpenGL for 32-bit programs such as in Wine, |