instructions to install nix

This commit is contained in:
Bit Borealis 2023-03-30 03:52:33 +00:00
parent 2817f6bb8c
commit 89e46d8958
Signed by: theotheroracle
GPG key ID: 2D816A2DCA6E5649

View file

@ -6,15 +6,18 @@ to check for syntax errors, run `nix repl replEval.nix` and once inside the repl
check for syntax errors
# Setup for not nixos
Install nix on your system following the instructions here:
https://nixos.org/download.html
Add the nixos 22.11 channel to your system, since we're basing on the latest stable branch for now.
`nix-channel --add https://nixos.org/channels/nixos-22.11 nixos`
Enable flakes, as we're using a flake for our build process.
```
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
```
## Building and Running
### VM
To build the VM: