nix-check

Check and validate NixOS configuration. Use when asked to check, validate, lint, or verify the nix config, flake, or configuration files.

nix
check