nix flake info
can be used to see metadata regarding the flake.
Source: Nix Reference Manual - nix flake info
nix flake check
is used to check whether the flake evaluates and run its tests:
- Within the directory you want to check your flake, type
nix flake check
into a terminal.