Skip to content

docs(dankgreeter): document NixOS auto-login#103

Open
jacobmichels wants to merge 1 commit into
AvengeMedia:masterfrom
jacobmichels:docs/dankgreeter-nixos-autologin
Open

docs(dankgreeter): document NixOS auto-login#103
jacobmichels wants to merge 1 commit into
AvengeMedia:masterfrom
jacobmichels:docs/dankgreeter-nixos-autologin

Conversation

@jacobmichels

Copy link
Copy Markdown

What

Adds an Auto-login section to the DankGreeter NixOS (nixpkgs module) installation page, covering:

  • services.displayManager.autoLogin.enable / .user
  • services.displayManager.defaultSession (and the requirement that it — or sessionPackages — be set)
  • a tip noting the session launch command is resolved declaratively, so it survives rebuilds and nix-collect-garbage

Applied 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-greeter module already supports declarative auto-login (it renders greetd's initial_session from 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/store path that goes stale on rebuild and breaks after garbage collection.

Refs AvengeMedia/DankMaterialShell#2591

Note: scoped to the nixpkgs module only. The flake module page is intentionally left untouched until the auto-login options are backported there.

🤖 Generated with Claude Code

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant