WSL 2 is out. Better support for Nix

#1

I think this will solve our sqlite options with Nix. So nix should be install and go!

Also, I think we can run systemd now, as wsl2 supports Cgroups. This means we can run NixOS on WSL!

11 Likes
#2

https://mybuild.techcommunity.microsoft.com/sessions/77003 is also worth watching for all the technical details.

Nix should now work great on another distro like Ubuntu.

For NixOS support it’s a bit more complicated than because they ship and run the linux kernel and init system. From the presentation it wasn’t clear what init they were using.

#3

So, that would be running stuff inside a NixOS container inside an Ubuntu virtualized on Windows? We’re getting a bit deep.

#4

Yes and wine should work great as well :smiley:

1 Like
#5

Don’t forget to enable build sandboxing, too.