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 |
Empty (change at will) | empty |
[Go] | go |
[Java] | java |
[LaTeX] | latex |
[MATLAB] | matlab |
[MATLAB/Octave] | matlab-octave |
[Octave] | octave |
[Python] | python |
[Rust] | rust |
[Shell] | shell |
[Zig] | zig |
Using nix:
nix develop
Using direnv
direnv allow