A collection of flake templates for easy project development and packaging.
- Rust
- Python shell
- Python jupyter
Using rust template:
mkdir my-project && cd my-project
nix flake init -t "github:rdk31/nix-flake-templates/master#rust"
git init && git add -A
# change the name in flake.nix and Cargo.toml
nix develop
cargo run
Using python-shell template:
mkdir my-project && cd my-project
nix flake init -t "github:rdk31/nix-flake-templates/master#python-shell"
git init && git add -A
# add dependencies to requirements.txt
nix develop
python main.py