A registry of various flake-parts templates
Warning
This repo is experimental. Do not promulgate until the GA milestone is complete. The author (Srid) who originally proposed this is now exploring templates in om init.
There are two ways to use these templates, the first of which should be preferred:
To initialize a template using flakreate:
nix run github:juspay/flakreate ~/myproject
cd ~/myprojectThis is an interactive app that allows you to choose a template and (optionally) fill in the necessary parameters for the generated project.
To initialize a template using just the nix command, run:
mkdir myproject && cd myproject
TEMPLATE=$(nix flake show github:flake-parts/templates --json | jq -r '.templates | keys[]' | fzf)
nix flake init -t github:flake-parts/templates#${TEMPLATE}