!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
16 Nov 2024
@98765abc:mozilla.org98765abcimage.png
Download image.png
05:57:32
@98765abc:mozilla.org98765abc
In reply to @98765abc:mozilla.org
sent an image.
Is this a bug???
05:57:41
@98765abc:mozilla.org98765abc
In reply to @98765abc:mozilla.org
sent an image.
* Is this a bug???
https://github.com/dorssel/usbipd-win/blob/2a1226d37b492111fce1cc2cd7ae2c84a0891eff/Usbipd/WSL/auto-attach.sh#L40
05:58:14
@aledomu:matrix.org@aledomu:matrix.org
In reply to @98765abc:mozilla.org
YES and I compiled the kernel with USB/IP enabled
WSL uses its own kernel afaik. That toggle in nixos-wsl alone should suffice.
06:06:40
@aledomu:matrix.org@aledomu:matrix.org
In reply to @98765abc:mozilla.org
Is this a bug??? https://github.com/dorssel/usbipd-win/blob/2a1226d37b492111fce1cc2cd7ae2c84a0891eff/Usbipd/WSL/auto-attach.sh#L40
Did you create that systemd service unit?
06:07:30
@98765abc:mozilla.org98765abc
In reply to @aledomu:matrix.org
Did you create that systemd service unit?
Yes,from wsl.usbip.autoAttch
https://github.com/nix-community/NixOS-WSL/blob/a6b9cf0b7805e2c50829020a73e7bde683fd36dd/modules/usbip.nix#L15
06:10:09
@aledomu:matrix.org@aledomu:matrix.orgWeird06:14:26
@aledomu:matrix.org@aledomu:matrix.orgIf you have not already done so, install usbip as an environment package. If it still does not work, report an issue to the nixos-wsl repo.06:16:52
@98765abc:mozilla.org98765abcthank u06:36:10
@98765abc:mozilla.org98765abc
In reply to @98765abc:mozilla.org
sent an image.
I found the issue
https://github.com/dorssel/usbipd-win/issues/973
14:28:20
17 Nov 2024
@whovian9369:matrix.orgWhovian9369

Hey, did anything recently change with NixOS-WSL nix.settings.trusted-users defaults? I've started getting the following warnings recently. I'm not sure if it's actually an "issue" with NixOS-WSL or not, but I feel like it's the most likely input to start.

$ nix flake update
warning: Git tree '/home/whovian/.config/nixos' is dirty
warning: Ignoring the client-specified setting 'tarball-ttl', because it is a restricted setting and you are not a trusted user
warning: Ignoring the client-specified setting 'tarball-ttl', because it is a restricted setting and you are not a trusted user
...
22:59:09
18 Nov 2024
@sandro:supersandro.deSandro 🐧IIRC the default in nixpkgs moved a bit around14:35:58
@sandro:supersandro.deSandro 🐧check if it still works for you14:36:02
@whovian9369:matrix.orgWhovian9369I'll have to mess around with it then - Thanks Sandro! Happen to know where the default changed in nixpkgs? (It's okay if not, I'll do some hunting around in a bit.)21:23:29
19 Nov 2024
@sandro:supersandro.deSandro 🐧nix.nix where nix.settings is IIRC13:02:16
@k900:0upti.meK900https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro14:05:04
@k900:0upti.meK900This is cool 14:05:09
@k900:0upti.meK900A lot less effort than the custom launcher code 14:05:21
@k900:0upti.meK900https://github.com/microsoft/WSL/releases/tag/2.4.416:23:49
@k900:0upti.meK900And it's live16:23:50
20 Nov 2024
@inayet:matrix.orginayet removed their profile picture.00:59:32
21 Nov 2024
@98765abc:mozilla.org98765abcRedacted or Malformed Event01:26:02
@alazy:matrix.orgalazy joined the room.17:55:53
@alazy:matrix.orgalazyI installed nixos to WSL2 and the basic install worked. Now it won't rebuild, complaining it's unable to write to the WSLg X11 socket, even if I revert to the original, unchanged configuration.nix that worked. Googling didn't turn up any useful fixes; I tried sudo mount -o remount,rw /tmp/.X11-unix to no avail. If anyone would take a look, error details and my config are here https://pastebin.com/2uDrqd0Q.17:56:04
@k900:0upti.meK900Do you have wslg enabled at all?18:03:26
@alazy:matrix.orgalazyNo, at least not knowingly/explicitly. The entire system config is in that paste.18:06:39
@k900:0upti.meK900 wsl --version? 18:31:54
@alazy:matrix.orgalazy[alan@nixos:/etc/nixos]$ wsl.exe --version WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.19045.513120:11:59
@k900:0upti.meK900Hmm20:12:47
@k900:0upti.meK900 Can you try wsl --update 20:12:51

Show newer messages


Back to Room ListRoom Version: 9