Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1007 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 1007 Bytes

Nix templates

built with nix

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>

How to use the templates

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.

Available templates

  • fluxcd - FluxCD GitOps template.
  • go - Golang project.
  • helm - Kubernetes Helm chart template.
  • LaTeX - LaTeX project.
  • python-venv - Python project using virtual environment.
  • rust - Rust project.
  • shell - Shell script utilities.