WSL

From NixOS Wiki
Revision as of 11:39, 24 January 2024 by imported>Onny (Initial page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Notes on running NixOS on the Windows Subsystem for Linux (WSL, WSL2)

Setup

Download the latest release of nixos-wsl.tar.gz from the NixOS-WSL Github page.

Import the WSL container

wsl --import NixOS .\NixOS\ nixos-wsl.tar.gz --version 2

Start it

wsl -d NixOS