mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
This change converts redundant attribute assignments of the form `a = a;` or `a = someSet.a;` into cleaner `inherit` statements. This reduces verbosity and follows common Nix style for bringing attributes into scope. Statix Codes: W03 (manual_inherit), W04 (manual_inherit_from) Also include statix and the rule in our configuration.
1.6 KiB
1.6 KiB
Description
Checklist
-
Change is backwards compatible.
-
Code formatted with
nix fmtornix-shell -A dev --run treefmt. -
Code tested through
nix run .#tests -- test-allornix-shell --pure tests -A run.all. -
Test cases updated/added. See example.
-
Commit messages are formatted like
{component}: {description} {long description}See CONTRIBUTING for more information and recent commit messages for examples.
-
If this PR adds a new module
-
If this PR adds an exciting new feature or contains a breaking change.
- Generate a news entry. See News