Skip to content

Commit f41f95c

Browse files
Add instructions to enable WSL 2 (#458)
* Add instructions to enable WSL 2 * Update README.md * Update README.md --------- Co-authored-by: Sandro <[email protected]>
1 parent 63c1247 commit f41f95c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,21 @@ Modules for running NixOS on the Windows Subsystem for Linux
1111

1212
## Quick Start
1313

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

16-
2. Import the tarball into WSL:
16+
- ```powershell
17+
wsl --install --no-distribution
18+
```
19+
20+
2. Download `nixos-wsl.tar.gz` from [the latest release](https://github.com/nix-community/NixOS-WSL/releases/latest).
21+
22+
3. Import the tarball into WSL:
1723
1824
- ```powershell
1925
wsl --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
2026
```
2127

22-
3. You can now run NixOS:
28+
4. You can now run NixOS:
2329

2430
- ```powershell
2531
wsl -d NixOS

0 commit comments

Comments
 (0)