NOTE: It is important that we do not commit the `flake.lock` files here as that could cause problems with the check once any files are updated outside the wrapper.
That is why we add them to `.gitignore`.
Finally, the `nix flake check` command for templates should be called with the `--no-write-lock-file` flag.