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
1 changed files with 4 additions and 1 deletions

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 check for syntax errors
# Setup for not nixos # 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. 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` `nix-channel --add https://nixos.org/channels/nixos-22.11 nixos`
Enable flakes, as we're using a flake for our build process. Enable flakes, as we're using a flake for our build process.
``` ```
mkdir -p ~/.config/nix mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
``` ```
## Building and Running ## Building and Running
### VM ### VM
To build the VM: To build the VM: