Skip to content

Commit b6921b1

Browse files
engdoreismarnovandermaas
authored andcommitted
[doc] Switch nix install instructions from determinate to upstream
1 parent 251dd18 commit b6921b1

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

doc/getting-started.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,19 @@ Follow the Linux (Ubuntu) steps for the rest of this guide.
4343
## Installing Nix
4444

4545
The Nix package manager is used to create reproducible builds and consistent development environments.
46-
We recommend installing Nix with the Determinate Systems' [`nix-installer`](https://github.com/DeterminateSystems/nix-installer):
47-
46+
For Linux systems it's recommended the following command from the official [documentation](https://nixos.org/download/):
4847
```sh
49-
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
48+
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon
5049
```
50+
For other systems such as macOS, Windows(WSL2), Docker and others, follow the official [documentation](https://nixos.org/download/).
5151

52-
For more in-depth instructions, follow the guide on [the zero to nix site](https://zero-to-nix.com/start/install).
5352
To use Nix from the terminal you need to open up a new terminal for it to be added to your path.
5453

55-
* ℹ️ If you've downloaded Nix through another method, make sure the experimental features ["flakes"](https://nixos.wiki/wiki/Flakes) and ["nix-command"](https://nixos.wiki/wiki/Nix_command) are enabled.*
54+
Make sure the experimental features ["flakes"](https://nixos.wiki/wiki/Flakes) and ["nix-command"](https://nixos.wiki/wiki/Nix_command) are enabled
55+
by adding the following to `/etc/nix/nix.conf` or `~/.config/nix/nix.conf`:
56+
```console
57+
experimental-features = nix-command flakes
58+
```
5659

5760
### Setup Nix cache
5861

0 commit comments

Comments
 (0)