nix-community / NixOS-WSL

NixOS on WSL(2) [maintainer=@nzbr]
Apache License 2.0
1.73k stars 111 forks source link
nix nixos nixos-wsl wsl wsl-distro wsl-environment wsl2

NixOS-WSL
Matrix Chat nixpkgs 24.05 Downloads

Modules for running NixOS on the Windows Subsystem for Linux

Documentation is available here

Quick Start

  1. Enable WSL if you haven't done already:
  1. Download nixos-wsl.tar.gz from the latest release.

  2. Import the tarball into WSL:

  1. You can now run NixOS:

For more detailed instructions, refer to the documentation.

License

Apache License, Version 2.0. See LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html for details.