ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
1--- 2comment: true 3title: Nix Setup 4description: Installing npins, nix, and enabling the binary cache. 5--- 6 7# {{ $frontmatter.title }} 8 9{{ $frontmatter.description }} 10 11::: warning 12This page is for the purposes for the **Tutorial**. 13You should read [How-to Guides - Install wire](/guides/installation.html) for installing wire for 14regular use. 15::: 16 17## Nix Installation 18 19You should install nix if you do not have it on your system already. 20There are detailed steps to installing Nix on [nix.dev](https://nix.dev/install-nix). 21 22By the end of the installation, you should see something like this: 23 24```sh 25$ nix --version 26nix (Nix) 2.11.0 27``` 28 29## Binary Cache 30 31Because wire can be heavy to compile, it is distributed with a [binary 32cache](https://wiki.nixos.org/wiki/Binary_Cache). 33 34You must enable the [garnix binary cache](https://garnix.io/docs/caching) or you 35will be compiling everything from source.