Skip to content

dms-greeter: inherit package defaults from dms-shell - #487733

Merged
marcusramberg merged 1 commit into
NixOS:masterfrom
z1-0:dms-greeter-fix
Feb 8, 2026
Merged

marcusramberg merged 1 commit into
NixOS:masterfrom
z1-0:dms-greeter-fix

Conversation

@z1-0

@z1-0 z1-0 commented Feb 6, 2026 •

Copy link
Copy Markdown
Contributor

When programs.dms-shell.enable is true, the greeter now automatically uses the dms-shell package and its quickshell dependency from the main program module. This ensures version consistency between the desktop shell and the display manager greeter.

The defaults fall back to pkgs.dms-shell and pkgs.quickshell respectively when the main program module is not enabled.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
    • [NixOS tests] in [nixos/tests].
    • [Package tests] at passthru.tests.
    • Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
  • Ran nixpkgs-review on this PR. See [nixpkgs-review usage].
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.

When `programs.dms-shell.enable` is true, the greeter now automatically
uses the dms-shell package and its quickshell dependency from the
main program module. This ensures version consistency between the
desktop shell and the display manager greeter.

The defaults fall back to pkgs.dms-shell and pkgs.quickshell
respectively when the main program module is not enabled.
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 12.first-time contribution This PR is the author's first one; please be gentle! 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Feb 6, 2026
@z1-0

z1-0 commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 487733
Commit: 0827ba32224097dc11f1239de00e6d8ed4e61021


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test

@z1-0

z1-0 commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

@LuckShiba

@LuckShiba LuckShiba left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good. Makes sense. Having two instances of DMS/quickshell in your system by not also setting the greeter packages was a very easy problem to run into. Thanks :)

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Feb 6, 2026
@z1-0

z1-0 commented Feb 6, 2026

Copy link
Copy Markdown
Contributor Author

Yep, I think the root cause of these issues is likely a version mismatch between greeter and dms — specifically, the dms-cli that the greeter provides to the compositor environment doesn't match the dms version in dms.services.

duxlabs-dev/dux-shell#1372
duxlabs-dev/dux-shell#1153

If a user is running both dms-shell + dms-greeter and has configured both nixosModule and hmModule, it's easy to miss updating one of them, making issues pretty hard to track down.

@marcusramberg

Copy link
Copy Markdown
Contributor

I like this. I'm setting them twice in my config now and would be nice to not have to. :)

@marcusramberg
marcusramberg added this pull request to the merge queue Feb 8, 2026
Merged via the queue into NixOS:master with commit 5697a89 Feb 8, 2026
32 checks passed
@z1-0
z1-0 deleted the dms-greeter-fix branch February 8, 2026 13:54
@z1-0
z1-0 restored the dms-greeter-fix branch February 8, 2026 13:54
@z1-0
z1-0 deleted the dms-greeter-fix branch February 8, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants