!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

328 Members
https://github.com/nix-community/NixOS-WSL54 Servers

Load older messages


SenderMessageTime
11 Feb 2025
@lunchtime:envs.net@lunchtime:envs.net left the room.19:07:43
@k900:0upti.meK900https://github.com/microsoft/WSL2-Linux-Kernel/releases/tag/linux-msft-wsl-6.6.75.119:53:21
@k900:0upti.meK900:eyes:19:53:22
@marcel:envs.netMarcelIs it available though Windows updated? Until now I still had to compile it myself.20:01:45
@marcel:envs.netMarcel * 20:01:53
@k900:0upti.meK900Not yet20:03:09
@k900:0upti.meK900But I believe that bug was the blocker for wider deployment20:03:15
@marcel:envs.netMarcel Hope so 20:03:58
@niklaskorz:korz.devNiklas KorzInteresting, I was running 6.6 on WSL for a few months now and didn't hit that bug22:05:22
12 Feb 2025
@sustainedrelease:matrix.orgsustainedreleaseHas anyone here successfully run VSCode in NixOS, like this article explains? https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-vscode23:33:47
@sustainedrelease:matrix.orgsustainedreleaseRedacted or Malformed Event23:34:59
@sustainedrelease:matrix.orgsustainedreleaseRedacted or Malformed Event23:35:00
@nzbr:nzbr.denzbr (they/it)It's not as straight-forward as on other distros, but we have a guide for that in the documentation https://nix-community.github.io/NixOS-WSL/how-to/vscode.html23:36:21
@sustainedrelease:matrix.orgsustainedreleaseThanks, I didn't see that. NixOS rocks.23:40:03
@sustainedrelease:matrix.orgsustainedreleaseEverything appears to be working. :D23:45:42
13 Feb 2025
@gleydar:beeper.comGleydarInteresting! I hope they can release it soon-ish so that podman can stop screaming at me08:36:38
14 Feb 2025
@nzbr:nzbr.denzbr (they/it)

It's possible to find the WSL version from inside the distro like this

strings /init | sed -nE 's/.* container_host_version_id=(.+\..+\..+\..+)/\1/p'

We might be able to use that to issue a warning on old WSL versions

10:46:06
@k900:0upti.meK900I think there's a magic file with it somewhere? 10:48:41
@nzbr:nzbr.denzbr (they/it) Currently trying to grep for it, but that's been running for a while now 10:49:18
@nzbr:nzbr.denzbr (they/it) /mnt/wslg/versions.txt only has the WSLg version, which is at 1.0.65 for me 10:50:33
15 Feb 2025
@nzbr:nzbr.denzbr (they/it)https://github.com/nix-community/NixOS-WSL/releases/tag/2411.6.000:03:17
18 Feb 2025
@sustainedrelease:matrix.orgsustainedrelease why am I getting "network is unreachable" when trying to do anything with IPv6 addresses? I even manually set networking.enableIPv6 = true; although it was not set to false 03:12:44
@sustainedrelease:matrix.orgsustainedreleaseipv6 is turned on in Windows 1103:21:39
@sustainedrelease:matrix.orgsustainedreleaseimage.png
Download image.png
03:21:40
@sustainedrelease:matrix.orgsustainedreleaseI can ping IPv6 addresses with powershell.03:28:25
@sustainedrelease:matrix.orgsustainedreleaseI can only connect to my VPS with IPv6, so help would be appreciated.03:28:57
@sustainedrelease:matrix.orgsustainedreleasefor what it's worth, IPv6 seems broken in ubuntu as well. I'm looking into IPv6 issues with WSL2...03:44:08
@sustainedrelease:matrix.orgsustainedrelease the solution was to enable mirrored networking in a file called .wslconfig in my Windows home directory 03:49:27
@nzbr:nzbr.denzbr (they/it)Yeah, the default network mode of WSL still doesn't support IPv6 at all. There's nothing we can do about it from the distro side09:15:32
28 Feb 2025
@balanced_design:matrix.orgbalanced_designtry setting up tailscale on WSL and your VPS. It is made to handle things that would otherwise prevent connecting between your devices. It will give you a virtual IPv4 address you can send packets to that will go to your VPS via IPv6 via tailscale noticing a request to a special IP and handling the networking.07:21:01

Show newer messages


Back to Room ListRoom Version: 9