16 Nov 2024 |
98765abc | ![image.png](https://matrix.nixos.dev/_matrix/media/r0/thumbnail/mozilla.org/00fb2e003e7b5af27839915c26ff388c27e59fd71857664271366750208?height=360&method=scale&width=360) Download image.png | 05:57:32 |
98765abc | In reply to @98765abc:mozilla.org sent an image. Is this a bug??? | 05:57:41 |
98765abc | 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 | 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 | 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 | 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 | Weird | 06:14:26 |
@aledomu:matrix.org | If 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 | thank u | 06:36:10 |
98765abc | 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 | 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 🐧 | IIRC the default in nixpkgs moved a bit around | 14:35:58 |
Sandro 🐧 | check if it still works for you | 14:36:02 |
Whovian9369 | I'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 🐧 | nix.nix where nix.settings is IIRC | 13:02:16 |
K900 | https://learn.microsoft.com/en-us/windows/wsl/build-custom-distro | 14:05:04 |
K900 | This is cool | 14:05:09 |
K900 | A lot less effort than the custom launcher code | 14:05:21 |
K900 | https://github.com/microsoft/WSL/releases/tag/2.4.4 | 16:23:49 |
K900 | And it's live | 16:23:50 |
20 Nov 2024 |
| inayet removed their profile picture. | 00:59:32 |
21 Nov 2024 |
98765abc | Redacted or Malformed Event | 01:26:02 |
| alazy joined the room. | 17:55:53 |
alazy | I 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 | Do you have wslg enabled at all? | 18:03:26 |
alazy | No, at least not knowingly/explicitly. The entire system config is in that paste. | 18:06:39 |
K900 | wsl --version ? | 18:31:54 |
alazy | [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.5131 | 20:11:59 |
K900 | Hmm | 20:12:47 |
K900 | Can you try wsl --update | 20:12:51 |