https://github.com/sshine/templates
Simon's Nix flake templates
https://github.com/sshine/templates
Last synced: about 1 year ago
JSON representation
Simon's Nix flake templates
- Host: GitHub
- URL: https://github.com/sshine/templates
- Owner: sshine
- Created: 2024-08-16T20:59:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T09:53:18.000Z (over 1 year ago)
- Last Synced: 2025-02-05T08:09:29.864Z (over 1 year ago)
- Language: Nix
- Size: 1.74 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simon's Nix flake templates
These are project templates for demonstrating development environments with Nix.
You can use `nix flake init` to get started, using e.g.:
```
mkdir hello-rs
cd hello-rs
nix flake init --template github:sshine/templates#rust-simple
```
But they are mainly intended for reading flake.nix for inspiration.
## [rust-simple](./rust-simple)
Provide a devShell with the Rust toolchain, nothing else.
You need to `cargo build`, `cargo run`, etc.
The flake does not export any packages.