Skip to content

nixos: allow more things to be disabled#432630

Merged
Lassulus merged 7 commits intoNixOS:masterfrom
nikstur:more-disabling
Aug 10, 2025
Merged

nixos: allow more things to be disabled#432630
Lassulus merged 7 commits intoNixOS:masterfrom
nikstur:more-disabling

Conversation

@nikstur
Copy link
Contributor

@nikstur nikstur commented Aug 10, 2025

Redo of #429695

This was caused by merging issues due to weird priorities.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

It is still enabled by default but now you can actively exclude it if
you don't need it.
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.
This allows users to override (i.e. exclude) these packages from their
system closure if they don't need them.
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".
@nikstur nikstur requested review from WilliButz and arianvp August 10, 2025 21:20
@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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 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 Aug 10, 2025
@nikstur
Copy link
Contributor Author

nikstur commented Aug 10, 2025

This slipped through the last time because I didn't check the change again after appeasing the manual (e.g. defaultText). Definitely my bad.

Ran a significant subset of the systemd tests (~30) and the scripted networking tests.

@Lassulus Lassulus merged commit ae2e5f9 into NixOS:master Aug 10, 2025
32 of 34 checks passed
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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants