docs/setup: also mention experimental option in case someone already has nix installed

This commit is contained in:
Jörg Thalheim 2024-07-21 22:05:07 +02:00
parent eded0a62b0
commit 5e16de17a3

View File

@ -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
```
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**"
If you run NixOS the `nix` binary is already installed.