diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml index 3bcb288b5ebf..4e37a4c053aa 100644 --- a/nixos/doc/manual/configuration/x-windows.xml +++ b/nixos/doc/manual/configuration/x-windows.xml @@ -59,6 +59,32 @@ # systemctl start display-manager.service + + Auto-login + + The x11 login screen can be skipped entirely, automatically logging you into + your window manager and desktop environment when you boot your computer. + + + 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. + + + 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: + + = "none"; + = "i3"; + + And, finally, to enable auto-login for a user johndoe: + + = true; + = "johndoe"; + + + On 64-bit systems, if you want OpenGL for 32-bit programs such as in Wine,