Collection of nix flake templates
  • Nix 79.6%
  • TypeScript 20.2%
  • Kotlin 0.1%
Find a file
2025-12-15 18:11:33 +01:00
doc feat(doc/notes): update xopp to support file globs 2025-12-12 12:17:35 +01:00
prgm/bun feat(prgm/bun): migrate to bun2nix v2 2025-12-12 13:22:57 +01:00
script feat(kotlin): add kotlin script 2025-12-15 18:11:33 +01:00
web/h2b feat(web/h2b): rewrite into /nix file 2025-12-12 13:18:27 +01:00
flake.lock feat(h2b): add script to add catppuccin 2025-04-25 21:02:24 +00:00
flake.nix feat(kotlin): add kotlin script 2025-12-15 18:11:33 +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.