Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nix-community/NixOS-WSL

NixOS on WSL(2) [maintainer=@nzbr]
https://github.com/nix-community/NixOS-WSL

nix nixos nixos-wsl wsl wsl-distro wsl-environment wsl2

Last synced: 2 days ago
JSON representation

NixOS on WSL(2) [maintainer=@nzbr]

Awesome Lists containing this project

README

        


NixOS-WSL

Matrix Chat
nixpkgs 24.05
Downloads

Modules for running NixOS on the Windows Subsystem for Linux

[Documentation is available here](https://nix-community.github.io/NixOS-WSL)

## Quick Start

1. Enable WSL if you haven't done already:

- ```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 --version 2
```

4. You can now run NixOS:

- ```powershell
wsl -d NixOS
```

For more detailed instructions, [refer to the documentation](https://nix-community.github.io/NixOS-WSL/install.html).

## License

Apache License, Version 2.0. See `LICENSE` or for details.