Templates are there to help you start your Nix project.
$ nix flake init --template github:ahhhh-man/nix-templates#<flake>
Create a new project using the template of your choice.
$ nix flake new --template github:ahhhh-man/nix-templates#<flake> <project-name>
Once your preferred template has been initialized, you can use the provided shell in two ways: If you have nix-direnv
installed, you can initialize the environment by running direnv allow
. Otherwise, you can run nix develop
to enter the shell.