docs: narrow NixOS maintainer validation defaults

This commit is contained in:
kiri committed 2026-09-10 18:22:14 +02:00
1 parent d7a0acf0a9
commit c14e31cc43
1 file changed
+6 -11
@@ -15,15 +15,10 @@ secret, credential, and application-owned state outside the Nix store. Verify
unfamiliar pinned interfaces against the exact package source or current primary
documentation.
Preserve unrelated work in a dirty tree. Make the smallest complete change,
format touched Nix files with the repository formatter, and validate only the
affected hosts. Ordinarily run:
Preserve unrelated work. Format touched Nix files and use the narrowest useful
evaluation for configuration changes. Build affected hosts only when needed to
resolve a concrete concern or explicitly requested; instruction-only edits do
not need system builds. Do not add tests or migration/compatibility code by
default. Explain manual steps for breaking changes.
```sh
nix flake check --no-build --quiet
nix build --no-link --quiet .#nixosConfigurations.<host>.config.system.build.toplevel
```
Start with a narrower evaluation when it can fail faster. Inspect targeted
failure logs only. Do not switch or boot a generation unless the user explicitly
requests activation.
Do not switch or boot a generation unless the user explicitly requests activation.