fix(nixos): expose configured sessions to greeter - #112
Open
ooonea wants to merge 1 commit into
Open
Conversation
Pass the NixOS display-manager session aggregate through XDG_DATA_DIRS so the greeter can discover configured Wayland sessions.\n\nAssisted-by: OpenAI Codex
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.
Summary
Expose the configured NixOS Wayland sessions to Noctalia Greeter.
Motivation
NixOS keeps display-manager session entries in a generated aggregate that is not linked into the normal system profile. As a result, the greeter cannot discover configured sessions through
/run/current-system/sw/share/wayland-sessions.Prefix the greetd command with
XDG_DATA_DIRSpointing directly atservices.displayManager.sessionData.desktops, using the packagedenvexecutable.Type of Change
Testing
nix develop -c just formatManual Coverage
just run/just run-local(dev compositor)Sync Now)programs.noctalia-greeter)[output].name[output].layout/[output].transformsChecklist
CONTRIBUTING.mdandREADME.md.just formatwith clang-format v22+ installed, or this PR has no code changes.docs/user/when this PR changes user-visible behavior or configuration, or this PR does not require documentation changes.