nixos: allow more things to be disabled#429695
Merged
arianvp merged 7 commits intoNixOS:masterfrom Aug 10, 2025
Merged
Conversation
misuzu
reviewed
Jul 31, 2025
misuzu
reviewed
Jul 31, 2025
This allows users to override all packages. This is useful to build minimal systems that really don't required these packages that previously were "required".
This allows users to override (i.e. exclude) these packages from their system closure if they don't need them.
Fuse is stil enabled by default so the default behaviour of NixOS doesn't change. However, now it's possible to actively exclude fuse when you don't need it.
It is still enabled by default but now you can actively exclude it if you don't need it.
arianvp
approved these changes
Aug 10, 2025
|
Hi! |
Member
|
Thanks for catching this. Note that this would've been caught by Hydra as well and would not have ended up in any channels. I do recommend using unstable and not master directly unless you're intending to catch bugs early (in that case; thanks!) |
|
@arianvp It is my way to be helpful for this project =) |
13 tasks
3 tasks
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.

Doesn't change any NixOS default but reduces the mandatory system closure by enabling users to exclude more things.
Is part of the larger work of #428908.
These changes are necessary to eventually make activation bashless. However, they are absolutely valuable even if you don't care at all about bashless because they give the user more control over their closure.
See the commits for more details on what is changed.
Commit-by-commit review is recommended.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.