Nixie is a lightweight solution to ship the Nix package manager together with a project repository, regardless of host architecture. It works kind of like you would expect gradlew
or the Linux kernel's make config
to.
To "install" Nixie onto your project's Git repository, you need to be running the Nix package manager, preferably with flakes enabled.
You only need to run one command. Make sure your current directory is this of the project you wish to populate.
nix run github:nixie-dev/nixie
In this case, you need to retrieve Nixie manually, either by cloning this repository or adding it as a Nix channel:
nix-channel --add https://github.com/nixie-dev/nixie/archive/master.tar.gz nixie
nix-channel --update
nix-env -iA nixie
git clone https://github.com/nixie-dev/nixie
nix-shell /path/to/cloned/nixie/shell.nix
While it is possible to build Nixie directly from this repository, the resulting binary still requires Nix to be available on setup.
Once you have acquired Nixie, simply run nixie
to automatically configure the repository you're in.