better nix wsl instructions

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-08-30 17:04:33 +02:00 committed by GitHub
parent 00772c3315
commit 4bfd892d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,11 @@ On Macos and Linux, we highly recommend Using [nix](https://nixos.org/download.h
If you are running ArchLinux or a derivative like Manjaro, you'll need to run `sudo sysctl -w kernel.unprivileged_userns_clone=1` before installing nix.
Install nix (not necessary on NixOS):
- If you are using WSL (Windows subsystem for Linux):
```
sh <(curl -L https://nixos.org/nix/install) --no-daemon
```
- For everything else:
```
sh <(curl -L https://nixos.org/nix/install) --daemon
```