A collection of Nix Flake Templates
Contributors, go to CONTRIBUTING.md
Use getflake
to initialize flake (recommended)
nix run github:nulladmin1/getflake
Or initialize using
nix flake init --template "github:nulladmin1/nix-flake-templates#${TYPE_KEYWORD}"
Where ${TYPE_KEYWORD}
is the supported type keyword of template:
Type Keyword | Type | Subdirectory | Documentation |
---|---|---|---|
bash , sh |
Bash using Nixpkgs Builders | bash | README |
bevy |
Bevy using Fenix and Crane | bevy | README |
cpp , cpp-cmake |
C++ using CMake | cpp-cmake | README |
default |
Development | default | README |
flutter , flutter-nix |
Flutter using Nixpkgs Builders | flutter-nix | README |
go , go-gomod2nix |
Go using gomod2nix | go-gomod2nix | README |
go-nix |
Go with Nixpkgs Builders | go-nix | README |
nixpkgs |
Nixpkgs Development | nixpkgs | README |
python , python-nix |
Python using Nixpkgs builders | python-nix | README |
poetry , python-poetry |
Python using Poetry | python-poetry | README |
pyproject , python-pyproject-nix |
Python using Pyproject-nix | python-pyproject-nix | README |
python-uv , uv |
Python using uv2nix | python-uv | README |
crane , rust , rust-fenix-crane |
Rust using Fenix and Crane | rust-fenix-crane | README |
rust-fenix-naersk |
Rust using Fenix and Naersk | rust-fenix-naersk | README |
rust-nix |
Rust using Nixpkgs Builders | rust-nix | README |
vim , vimPlugins |
vimPlugins | vimPlugins | README |
zig |
Zig using Nixpkgs Builders | zig | README |
getflake
(using rust-fenix-naersk
) - A simple to program to automatically instantiate my Nix-Flake-Templates
eightQueens
(using cpp-cmake
) - A rendition of the famous Eight Queens Puzzle in C++
mp2ExtraCredit
(using cpp-cmake
) - A solution of a plague simulation I had to do for Computer Science II, in C++
josephus-rs
(using rust-fenix-naersk
) - An implementation of the Josephus problem in Rust
sha256_python_with_tests
- A simple Python program with testcases to encode a user-inputted string in SHA256