!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

345 Members
https://github.com/nix-community/NixOS-WSL61 Servers

Load older messages


SenderMessageTime
9 Dec 2022
@k900:0upti.meK900 Do you get anything if you run wsl --system -d NixOS and then dmesg? 16:25:15
@daniel573:matrix.orgDaniel Kahlenberg
➜  wsl.exe --list -v
  NAME          STATE           VERSION
* wsl-vpnkit    Running         2
  Ubuntu        Stopped         2
  NixOS         Stopped         2
16:25:25
@daniel573:matrix.orgDaniel Kahlenberg Directly after wsl -d NixOS 16:25:37
@k900:0upti.meK900OK, that's whatever, that CLI is very confused16:26:08
@k900:0upti.meK900 Try wsl --system -d NixOS and then dmesg and look for errors 16:26:20
@daniel573:matrix.orgDaniel KahlenbergOn my system this just prints the wsl help page, guess my version is too old then (Win10)16:27:04
@k900:0upti.meK900Uhh16:27:11
@k900:0upti.meK900What version of WSL are you on?16:27:14
@daniel573:matrix.orgDaniel KahlenbergIDK just says 216:27:25
@k900:0upti.meK900native systemd requires WSL 1.0 from the Windows Store16:27:29
@k900:0upti.meK900 wsl --version? 16:27:40
@daniel573:matrix.orgDaniel Kahlenberg
wsl --status
Standardversion: 2
Kernel-Version: 5.10.102.1
16:27:44
@k900:0upti.meK900Yeah this is definitely too old16:27:53
@k900:0upti.meK900The versions of WSL itself needed for native systemd have kernel 5.1516:28:07
@k900:0upti.meK900 Try wsl --update 16:28:16
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @k900:0upti.me
The versions of WSL itself needed for native systemd have kernel 5.15
Thanks good to know
16:28:36
@k900:0upti.meK900You may need to explicitly go and download the Windows Store version for this to work though16:29:09
@sandro:supersandro.deSandro 🐧I didn't need to do that16:29:22
@k900:0upti.meK90011 will get it as a normal update16:29:24
@k900:0upti.meK90010 I'm not sure16:29:30
@sandro:supersandro.deSandro 🐧but you probably need to be on a newer windows version for that to work16:29:34
@daniel573:matrix.orgDaniel Kahlenbergwsl --update just says none available16:30:19
@k900:0upti.meK900What Windows version are you on?16:30:41
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @k900:0upti.me
You may need to explicitly go and download the Windows Store version for this to work though
Maybe I'll try that (work laptop)
16:30:45
@k900:0upti.meK900

You will need to be running Windows 10 version 21H1, 21H2, or 22H2, or on Windows 11 21H2 with all of the November updates applied. You will know you have this update when you check that KB5020030 is installed on Windows 10, or KB5019157 on Windows 11.

16:30:51
@k900:0upti.meK900Is what https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/ saya16:30:57
@k900:0upti.meK900 * Is what https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/ says16:30:59
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @k900:0upti.me
Is what https://devblogs.microsoft.com/commandline/the-windows-subsystem-for-linux-in-the-microsoft-store-is-now-generally-available-on-windows-10-and-11/ says
Windows 10 version 22H2
16:31:18
@k900:0upti.meK900Then you're probably missing the KB5020030 bit16:31:38
@daniel573:matrix.orgDaniel Kahlenberg
In reply to @k900:0upti.me
Then you're probably missing the KB5020030 bit
?
16:31:53

Show newer messages


Back to Room ListRoom Version: 9