docs(dankgreeter): document NixOS auto-login#103
Open
jacobmichels wants to merge 1 commit into
Open
Conversation
The nixpkgs dms-greeter module supports declarative auto-login via
services.displayManager.autoLogin.{enable,user} and
services.displayManager.defaultSession, but the NixOS installation page
didn't mention it. Add an Auto-login section covering the required
options and noting that the session command is resolved declaratively
(so it survives rebuilds and garbage collection), which is the durable
alternative to the greeter's remembered-session auto-login on NixOS.
Refs AvengeMedia/DankMaterialShell#2591
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an Auto-login section to the DankGreeter NixOS (nixpkgs module) installation page, covering:
services.displayManager.autoLogin.enable/.userservices.displayManager.defaultSession(and the requirement that it — orsessionPackages— be set)nix-collect-garbageApplied to both the current page (
docs/dankgreeter/nixos.mdx) and the latest versioned copy (versioned_docs/version-1.4/dankgreeter/nixos.mdx).Why
The nixpkgs
dms-greetermodule already supports declarative auto-login (it renders greetd'sinitial_sessionfrom these options), but the docs didn't mention it anywhere, so it wasn't discoverable. This is also the durable alternative to the greeter's remembered-session auto-login on NixOS, which can bake an absolute/nix/storepath that goes stale on rebuild and breaks after garbage collection.Refs AvengeMedia/DankMaterialShell#2591
🤖 Generated with Claude Code