instructions to install nix
This commit is contained in:
parent
2817f6bb8c
commit
89e46d8958
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue