Skip to content

nix-community/NixOS-WSL

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:
  • wsl --install --no-distribution
  1. Download nixos-wsl.tar.gz from the latest release.

  2. Import the tarball into WSL:

  • wsl --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz --version 2
  1. You can now run NixOS:
  • wsl -d 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.