From 20ed1909b6d8bd8ecef0a7dba40e6cd439b1bd46 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 13 May 2026 23:47:08 +0200 Subject: [PATCH] Add readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fc40c29 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# Nix Templates + +## Usage + +```bash +nix flake init -t git+https://gitea.susano-homelab.duckdns.org/fujin/templates#rust +``` + +## Available Templates + +- **rust**: Stable Rust toolchain with `rust-analyzer`, `clippy`, `rustfmt`, and `pre-commit` hooks. Includes Linux/macOS system dependencies for OpenSSL and Security frameworks. + +## Requirements + +- Nix with `flakes` and `nix-command` experimental features enabled. +- New files must be added to git (`git add .`) for Nix to recognize them. + +## Development Shell + +Once initialized, enter the environment with: + +```bash +nix develop +```