mirror of
https://github.com/nix-community/NixOS-WSL.git
synced 2025-12-31 01:40:58 +02:00
NixOS on WSL(2) [maintainer=@nzbr]
|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| assets | ||
| checks | ||
| docs | ||
| modules | ||
| tests | ||
| utils | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
| VERSION | ||
Modules for running NixOS on the Windows Subsystem for Linux
Documentation is available here
Quick Start
Run the following from powershell:
- Enable WSL if you haven't done already:
-
wsl --install --no-distribution
-
Download
nixos.wslfrom the latest release. -
Double-click the file you just downloaded (requires WSL >= 2.4.4)
-
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.