Collection of nix flake templates
| doc | ||
| prgm/bun | ||
| script/bun | ||
| web/h2b | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Templates
This repository contains flake templates for different projects.
Usage
Inside the destination folder run
$ nix flake init -t git+ssh://forgejo@git.solarpunk.social:287/krauterbaquette/templates#TEMPLATE_NAME
For TEMPLATE_NAME use the name of the template you want to use.
For some templates, there are add-on scripts that can be run to extend to template. These can be run with:
$ nix run git+ssh://forgejo@git.solarpunk.social:287/krauterbaquette/templates#ADD_ON_NAME
Where ADD_ON_NAME is the name of said script.
List of Templates
h2b
This will initilize a bun project with the h2b stack.
This stack is a simple server side rendered stack consisting of:
- bun
- hono
- htmx
- tailwind
Add on scripts
You can run h2bAddCatppuccin to additionally setup the catppuccin color theme for tailwind.