docs/setup: also mention experimental option in case someone already has nix installed
This commit is contained in:
@@ -12,6 +12,14 @@ Create your own clan with these initial steps and manage a fleet of machines wit
|
|||||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you already have installed Nix, make sure you have the `nix-command` and `flakes` configuration enabled in your ~/.config/nix/nix.conf.
|
||||||
|
The determinate installer already comes with this configuration by default.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# /etc/nix/nix.conf or ~/.config/nix/nix.conf
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
```
|
||||||
|
|
||||||
=== "**NixOS**"
|
=== "**NixOS**"
|
||||||
|
|
||||||
If you run NixOS the `nix` binary is already installed.
|
If you run NixOS the `nix` binary is already installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user