Skip to content

Commit

Permalink
Add instructions to enable WSL 2 (#458)
Browse files Browse the repository at this point in the history
* Add instructions to enable WSL 2

* Update README.md

* Update README.md

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
andoriyu and SuperSandro2000 authored Apr 24, 2024
1 parent 63c1247 commit f41f95c
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@ Modules for running NixOS on the Windows Subsystem for Linux

## Quick Start

1. Download `nixos-wsl.tar.gz` from [the latest release](https://github.com/nix-community/NixOS-WSL/releases/latest).
1. Enable WSL if you haven't done already:

2. Import the tarball into WSL:
- ```powershell
wsl --install --no-distribution
```
2. Download `nixos-wsl.tar.gz` from [the latest release](https://github.com/nix-community/NixOS-WSL/releases/latest).
3. Import the tarball into WSL:
- ```powershell
wsl --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
```

3. You can now run NixOS:
4. You can now run NixOS:

- ```powershell
wsl -d NixOS
Expand Down

0 comments on commit f41f95c

Please sign in to comment.