mirror of
https://github.com/nix-community/NixOS-WSL.git
synced 2026-11-07 14:59:35 +00:00
07121c1c33eef9552d6dbd16d078d089f96f7b37
- Update run_checks.yml to run flake checks on both x86_64-linux and aarch64-linux using matrix strategy - Update run_build.yml to build tarballs for both architectures using matrix strategy - Update run_validate.yml to validate both tarballs - Update run_tests.yml to use the x86_64 tarball artifact - Update on_release.yml to upload both nixos.wsl and nixos.aarch64.wsl with checksums - Add aarch64 nixosConfiguration to flake.nix - Use ubuntu-24.04 for x86 runners and ubuntu-24.04-arm for arm64 runners
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.
Languages
Nix
61.5%
PowerShell
20.1%
Rust
18.4%