Skip to content

ShellTux/flake-templates.nix

Repository files navigation

flake-templates.nix

My own custom flake templates

built with nix

Create a development environment using one of these 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>

Available environments

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

Activate environment

Using nix:

nix develop

Using direnv

direnv allow

About

My own custom flake templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published