!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
22 Mar 2024
@k900:0upti.meK900(which is basically a network share that's run by the VM)17:33:00
@greg:thehellings.comgregMy WSL2 filesystems are accessible alongside my normal filesystem roots17:33:13
@k900:0upti.meK900
In reply to @greg:thehellings.com
My WSL2 filesystems are accessible alongside my normal filesystem roots
The "Linux" icon in Explorer goes to the same path
17:33:37
@k900:0upti.meK900It's just not there in older Windows versions17:33:46
@k900:0upti.meK900So the UNC path is more consistent17:33:49
@peepojuice:matrix.orgPeepsNo I used WSL2 with Ubuntu. Sorry im not sure if I explained myself correctly. Like when I run my Ubuntu, i see "peepo@mypc:~$", but when i run the NixOs, it changes a bit but it shows my windows filesystem and the files of the folder where I entered NixOs. 17:35:28
@k900:0upti.meK900Oh, that's just the current directory17:35:43
@k900:0upti.meK900I think Ubuntu might reset it by default?17:35:51
@k900:0upti.meK900We don't17:35:53
@k900:0upti.meK900 You can cd ~ to get to your home directory 17:35:59
@k900:0upti.meK900 Or cd / to get to the Linux filesytem root 17:36:07
@k900:0upti.meK900 * Or cd / to get to the Linux filesystem root 17:36:09
@k900:0upti.meK900 Your Windows drives are accessible under /mnt/<drive letter> by default 17:36:22
@peepojuice:matrix.orgPeepsOh there we go. Thats what I needed. Didnt even think to try that. Thats interesting. So is it all under one umbrella? To be fair I never tried to access windows from ubuntu.17:37:22
@peepojuice:matrix.orgPeeps
In reply to @k900:0upti.me
Your Windows drives are accessible under /mnt/<drive letter> by default
Actually thats similar to where I was landing, its starting to make sense now lol
17:37:47
@k900:0upti.meK900It's a bit complicated17:37:42
@k900:0upti.meK900The Linux side sees the Windows drives as network filesystems that are automounted to /mnt17:38:08
@peepojuice:matrix.orgPeepsI see. Well thanks for the help :)17:38:35
@k900:0upti.meK900The Windows side sees the Linux side as a network filesystem that's not mounted anywhere but can be seen through a UNC path17:38:32
@k900:0upti.meK900So they both see each other17:38:46
@k900:0upti.meK900But in different ways and in different parts of the hierarchy17:39:07
23 Mar 2024
@peepojuice:matrix.orgPeepsIm trying to get pulseaudio working but: W: [pulseaudio] pid.c: Failed to open PID file '/run/user/1000/pulse/pid': Too many levels of symbolic links Its making me sad.00:02:03
@peepojuice:matrix.orgPeeps

Not sure if this formatting will work but here we go:

[nix-shell:~]$ ls -l /run/user/1000/pulse | grep pid
lrwxrwxrwx 1 root root 31 Mar 22 22:27 pid -> /mnt/wslg/runtime-dir/pulse/pid

Based on my research, this thing is pointing to itself, which is a nono. I can remove it with rm pid, i suppose, but wouldnt that just lead to another issue?

00:16:37
@peepojuice:matrix.orgPeepsRedacted or Malformed Event00:26:29
@federicodschonborn:matrix.org@federicodschonborn:matrix.org joined the room.00:36:59
@peepojuice:matrix.orgPeeps *

Not sure if this formatting will work but here we go:

[nix-shell:~]$ ls -l /run/user/1000/pulse | grep pid
lrwxrwxrwx 1 root root 31 Mar 22 22:27 pid -> /mnt/wslg/runtime-dir/pulse/pid
02:02:15
@peepojuice:matrix.orgPeepsOkay this is awkward but i got audio working, lol. I wish I knew why its working now.02:08:15
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (hash-versioned python modules when) to SomeoneSerge (migrating synapse).02:11:37
@k900:0upti.meK900
In reply to @peepojuice:matrix.org
Im trying to get pulseaudio working but: W: [pulseaudio] pid.c: Failed to open PID file '/run/user/1000/pulse/pid': Too many levels of symbolic links

Its making me sad.
You should not need Pulseaudio on WSL
04:59:55
@k900:0upti.meK900WSLg provides its own sound server05:00:01

Show newer messages


Back to Room ListRoom Version: 9