check
Run a validation ladder from quick lint to dry-activate to check NixOS or Home Manager configurations for errors and preview changes.
Instructions
Validation ladder for the configuration, fast to slow: level='lint' (statix+deadnix; returns a structured findings list — lint only), 'flake' (nix flake check), 'dry-build' (evaluate and plan the closure build), 'dry-activate' (NixOS only, shows what activation would change).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | nixos | |
| level | Yes | ||
| flake_uri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||