Patch Notes
Besides NixOS 24.11, this release is the first one to ship as a .wsl
file. If you have a recent WSL version installed, you can now install NixOS-WSL simply by double-clicking the nixos.wsl
file after downloading it. It can of course still be installed using the command line with either wsl --install --from-file
or wsl --import
. For details, see the installation instructions.
As announced on the previous release, support for the legacy method of running systemd in a container (syschdemd) has been removed.
Updating
Channels
- Switch your nixpkgs channel to 24.11
sudo nix-channel --add https://nixos.org/channels/nixos-24.11 nixos
- Update your channels
sudo nix-channel --update
- Rebuild your system
sudo nixos-rebuild switch
Flakes
If you're using flakes instead of channels, update your nixpkgs
input to 24.11
, run nix flake update
and rebuild your system.
Changelog
🛠️ General Changes
- remove legacy systemd support (syschdemd) (#625) @nzbr
- refactor: drop flake-utils (#613) @isabelroses
🚀 Features
- Distribute as .wsl file instead of .tar.gz (#600) @nzbr
- ci: add success gate job (#603) @nzbr
- Support envfs (#525) @Atry
- 24.05-compat: sync with nixos-hardware (#563) @MarcelCoding
- Convert
wsl.wslConf
to a freeform type (#560) @nzbr - recovery: prefer nixos-enter from pkgs if available (#550) @K900
- Update Docker Desktop integration (#545) @antoineco
- shim: make systemd log to kmsg (#537) @nzbr
- Resolve renamed option hardware.opengl -> hardware.graphics (#503) @getchoo
🪲 Bugfixes
- fix: shell-wrapper sometimes can't launch wrapped shell due to race condition (#602) @nzbr
- fix: usbip auto-attach script (#596) @terlar
- fix: shell wrapper overwrites $SHELL (#601) @nzbr
- fix: usbip default snippetIpAddress command (#522) @terlar
- fix: wrap /bin/sh to load environment (#561) @nzbr
- fix: remove cyclic dependency in systemd units. Add test to check for that (#553) @nzbr
- fix: wsl --import (#531) @SuperSandro2000
- fix: user units with systemd 256 (#521) @K900
- fix: createBootedSystemSymlink ordering (#514) @SuperSandro2000
📖 Documentation
- Add explicit powershell (#611) @joeledwardson
- Fix PowerShell syntax issue in README (#608) @jarrodsfarrell
- docs: fix WSL import command option order (#535) @glwbr
- docs: add certificate install instructions (#543) @Rasmus-Bertell
- Remove mentions of nix-ld-rs (#546) @SuperSandro2000
- Specify WSL version in install.md (#528) @AlisterH