nix: Support specifying systemd target#1385
Merged
LuckShiba merged 1 commit intoAvengeMedia:masterfrom Jan 16, 2026
Merged
Conversation
d37b5db to
8610e62
Compare
8610e62 to
25003f3
Compare
LuckShiba
approved these changes
Jan 16, 2026
Collaborator
LuckShiba
left a comment
There was a problem hiding this comment.
We already have this option in the nixpkgs module, so it's fair to have here too. Thanks :)
shalevc1098
added a commit
to shalevc1098/DankMaterialShell
that referenced
this pull request
Jan 16, 2026
This reverts commit aab4b67.
Contributor
|
hey, this pr seems to have introduced a syntax error in distro/nix/home.nix - nix complains about a missing semicolon at the end of the file. opened #1386 about it |
13 tasks
bbedward
pushed a commit
that referenced
this pull request
Jan 16, 2026
kamilchm
pushed a commit
to kamilchm/DankMaterialShell
that referenced
this pull request
Jan 19, 2026
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.
This is a pretty common pattern in home manager: https://home-manager-options.extranix.com/?query=systemd.target
It's not necessarily true that one will always want to bind to the default target, like in the case that one is running DMS in Niri but sometimes running other compositor sessions where one doesn't want to run DMS. This supports that case in a cleaner way than
mkForceing the unit configuration. I opted to just duplicate the option between the home manager module and the NixOS module due to NixOS not having anything analogous toconfig.wayland.systemd.target.