Add readme
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user