Skip to content

[22.05-5c211b47] The not-so-quick Quokka

Compare
Choose a tag to compare
@nzbr nzbr released this 18 Aug 18:34
· 402 commits to main since this release
0b29fc7

📢Please note

  • The 2.0.0.0 update of WSL breaks the old method we used to get systemd to run. For information on how to work around that, see #292
  • (Older WSL versions) There is an issue where NixOS will hang on Starting systemd... after the installation. Should you encounter it, please use nixos-wsl-x86_64-linux.tar.gz instead of nixos-wsl-installer.tar.gz.

Patch Notes

Yes, I know; NixOS 22.05 has been out for a while and we're a little late to the party. As you can see from the changelog below, there were quite a few bugs we had to get rid of before publishing a release

binfmt_misc registration is now turned off by default to prevent its unintended side effects. If you need it, just set wsl.interop.register = true. nixos-rebuld should also issue a warning if you try to use boot.binfmt without having it enabled

Both using docker-desktop and running docker as a service within NixOS are now supported and can be enabled with wsl.docker-desktop.enable = true and wsl.docker-native.enable = true respectively

Should you encounter any problems, please open an issue. If you have any questions, feel free to start a discussion or join our chat

Updating

Flakes

If you used the method described in Xe Iaso's blogpost, please refer to the "Installer" method
Otherwise, just update your flake inputs and make sure to set the nixpkgs url to github:NixOS/nixpkgs/nixos-22.05.

Installer

Replace the content of /etc/nixos/nixos-wsl with the content of the source-tarball attached to this release, then run the following commands in order:

sudo nix-channel --add https://nixos.org/channels/nixos-22.05 nixos
sudo nix-channel --update
sudo nixos-rebuild switch

Legacy (pre-installer)

To switch over to the new update method, do the following:
Put the contents of the attached source-tarball into /etc/nixos/nixos-wsl. If the directory already exists, that probably means that you are already using the newer method.
Change the (import (builtins.fetchGit ... )).nixosModules.wsl line to (import ./nixos-wsl).nixosModules.wsl
Run nixos-rebuild switch

Changelog

🛠️ General Changes

🚀 Features

🪲 Bugfixes

  • docker-desktop: fix bind mounts (#117) @nzbr
  • interop: move to its own module and disable re-registration by default (#119) @nzbr
  • prevent systemd-tmpfiles from removing the xorg socket (#115) @nzbr
  • fix docker-desktop systemd proxy (#90) @hschaeidt
  • fix /bin/wslpath missing (#106) @nzbr
  • interop: fix hacks (#99) @K900
  • interop: enable preserveArgvZero (#84) @K900
  • Preserve UID for default user (#85) @ErikMcClure
  • Fix Windows File Systems not being mounted on first start when using the Installer (#79) @nzbr
  • Fix syschdemd failing on first launch with installer (#68) @nzbr

📖 Documentation