Awesome
<h1 align=center> NixOS-WSL<br /> <a href="https://matrix.to/#/#wsl:nixos.org"><img src="https://img.shields.io/matrix/wsl:nixos.org?server_fqdn=matrix.org&logo=matrix" alt="Matrix Chat" /></a> <a href="https://github.com/NixOS/nixpkgs/tree/nixos-24.05"><img src="https://img.shields.io/badge/nixpkgs-24.05-brightgreen" alt="nixpkgs 24.05" /></a> <a href="https://github.com/nix-community/NixOS-WSL/releases"><img alt="Downloads" src="https://img.shields.io/github/downloads/nix-community/NixOS-WSL/total"></a> </h1>Modules for running NixOS on the Windows Subsystem for Linux
Documentation is available here
Quick Start
- Enable WSL if you haven't done already:
-
wsl --install --no-distribution
-
Download
nixos-wsl.tar.gz
from the latest release. -
Import the tarball into WSL:
-
wsl --import NixOS $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz --version 2
- 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.