A collection of Nix Flake Templates
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 |
---|---|---|---|
empty, default |
Default | default | default |
nixpkgs |
Nixpkgs | nixpkgs | README |
poetry , python-poetry |
Python (using poetry2nix ) |
python-poetry | README |
pyproject , pyproject-nix |
Python (using pyproject-nix ) |
python-pyproject-nix | README |
python , python-nix |
Python (using Nixpkgs builders) | python-nix | README |
uv , python-uv |
Python (using uv2nix ) |
python-uv | README |
go-nix |
Go (using Nixpkgs builders) | go-nix | README |
go , go-gomod2nix |
Go (using gomod2nix |
go-gomod2nix | README |
rust , rust-fenix-naersk |
Rust (using fenix and naersk ) |
rust-fenix-naersk | README |
rust-nix |
Rust (using Nixpkgs builders) | rust-nix | README |
cpp , cpp-cmake |
C++ (using CMake ) |
cpp-cmake | README |
vim |
Vim Plugins (using Nixpkgs builders) | vimPlugin | README |
flutter , flutter-nix |
Flutter (using Nixpkgs builders) | flutter-nix | README |
bash , sh |
Bash (using Nixpkgs builders) | bash | 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