Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to enable WSL 2 #458

Merged
merged 3 commits into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
andoriyu marked this conversation as resolved.
Show resolved Hide resolved
```

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

- ```powershell
wsl -d NixOS
Expand Down
Loading