My own custom flake templates
Initialize empty directory:
nix flake init --template github:ShellTux/flake-templates.nix#<ENV>Create new directory:
nix flake new --template github:ShellTux/flake-templates.nix#<ENV> <PROJECT_NAME>| Language/framework/tool | Template |
|---|---|
| [C]/[C++] | c-cpp |
| [C]/[C++]/[Rust] | c-cpp-rust |
| Empty (change at will) | empty |
| [Go] | go |
| [Java] | java |
| [LaTeX] | latex |
| [MATLAB] | matlab |
| [MATLAB/Octave] | matlab-octave |
| [Octave] | octave |
| [Python] | python |
| [Rust] | rust |
| [Rust with crane] | rust-crane |
| [Shell] | shell |
| [Zig] | zig |
Using nix:
nix developUsing direnv
direnv allow