Collection of nix flake templates
Find a file
2025-12-03 16:21:57 +01:00
doc fix(doc/notes): correctly export main notes 2025-12-03 16:21:57 +01:00
prgm/bun feat(prgm/bun): add template for compiled bun program 2025-11-14 13:35:34 +01:00
script/bun feat(bun): create template for small bun scripts 2025-06-02 21:55:10 +02:00
web/h2b fix(h2b): include static files correctly in server binary 2025-05-10 14:23:54 +02:00
flake.lock feat(h2b): add script to add catppuccin 2025-04-25 21:02:24 +00:00
flake.nix feat: add dedicated notes template 2025-12-03 16:16:15 +01:00
README.md docs: add documentation 2025-04-25 21:10:02 +00:00

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.