Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Sep 21, 2024
1 parent 6a7c3aa commit 479fbad
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Nix Templates

Templates to quickly bootstrap a project with:

* Appropriate tooling (build system, LSP, formatters, etc.)
* Sensible pre-commit hooks
* Basic github actions

Just call `nix flake new --template github:huuff/nix-templates#«template»`

The available ones are:

* `rust`: including stable toolchain, clippy, rustfmt, rust-analyzer, linux target.
* `leptos`: everything in `rust`, plus wasm target, cargo-leptos,
leptosfmt, stylance, sass and binaryen.
* `nix`: for nix-only projects, including nil, nixfmt, statix and deadnix.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
nil.enable = true;

actionlint.enable = true;

markdownlint.enable = true;
};
};

Expand Down

0 comments on commit 479fbad

Please sign in to comment.