move templates

This commit is contained in:
2026-03-28 16:20:41 +01:00
parent fc166785ee
commit d6b6751ebd
15 changed files with 229 additions and 0 deletions

13
templates/rust.nix Normal file
View File

@@ -0,0 +1,13 @@
_: {
flake.templates.rust = {
path = ./_rust;
description = "A simple rust binary template";
welcomeText = ''
# Rust template
This is a simple rust binary template.
To build the project run `cargo build`.
To run the project run `cargo run`.
Before running nix build, make sure to run `cargo generate-lockfile` first.
'';
};
}