refactor(nix): more package/module renames/modernization#191
Merged
water-sucks merged 5 commits intonix-community:mainfrom Feb 23, 2026
Merged
refactor(nix): more package/module renames/modernization#191water-sucks merged 5 commits intonix-community:mainfrom
water-sucks merged 5 commits intonix-community:mainfrom
Conversation
Sporif
requested changes
Feb 22, 2026
60f97ea to
1ff4604
Compare
I used to think of nixos-cli as a "system service", rather than as a program conceptually, but this doesn't really make sense, to be frank.
This has been a long time coming; the project has been referred to with a -cli prefix for over a year now, so soft-deprecate the package aliases in case anyone is still using them, and move them over to the kebab-case with the nixos-cli prefix if needed.
1ff4604 to
671157d
Compare
Sporif
approved these changes
Feb 23, 2026
Collaborator
|
Thanks for all this! All looks good to me. |
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 PR continues the renaming efforts done in #183, and renames the entire
services.nixos-climodule toprograms.nixos-cliinstead, since thenixos-cliprogram itself isn't really a system service, nor does it have one to speak of.It also renames the
configoption tosettings, sinceconfigis usually designated for raw configuration, andsettingsfor structured Nix config, as pernixpkgsconventions.Additionally, it completes the rename of the actual packages from bare
nixos(which was the name of the binary and original project, but wasn't very descriptive), tonixos-cliandnixos-cli-legacy, and wraps thenixos-clipackage with the latest Nix as a runtime dependency, as to prevent Nix from bringing in packages for the wrong platform and so that more recent Nix versions can be relied on.