This is a repository containing a collection of Nix flakes, which can be used as templates for your projects.
Some templates can be used without Nix.
Only the templates located under
./nix
are Nix flakes
First, you need Nix installed. You can use either one of the following installers:
To learn how to use Nix to apply these templates, see
nix flake new
and
nix flake init
.
Templates in this repository are divided into subdirectories,
which can be referenced as nested objects in Nix.
For example, to use the template located at ./nix/empty
, you can run
nix flake init --template github:grimerssy/flakes#nix.empty
Nix helps with copying the files, but some templates can still be used without it.
If you don't have Nix installed, you can use cp
command or your file manager to copy.
cp -r /path/to/template/* .