!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
14 Nov 2024
@k900:0upti.meK900 Not modules/wsl/default.nix 21:06:54
@litelotus:matrix.orgLiteLotus🤦🏾‍♂️🤦🏾‍♂️21:07:12
@litelotus:matrix.orgLiteLotusyeah, that was it, thanks21:11:09
@litelotus:matrix.orgLiteLotuscompletely read that import wrong, my bad21:11:23
@litelotus:matrix.orgLiteLotusyeah, literally needed to fix that import and disable the boot config for wsl, and it worked perfectly21:29:15
@litelotus:matrix.orgLiteLotusthanks @k90021:29:20
@litelotus:matrix.orgLiteLotuscant believe i missed that21:29:43
@litelotus:matrix.orgLiteLotusnow to do nix-on-droid21:47:20
16 Nov 2024
@98765abc:mozilla.org98765abc
In reply to @aledomu:matrix.org
Did you enable usbip support in configuration.nix or your flake nixosModule?
YES and I compiled the kernel with USB/IP enabled
05:56:21
@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

Show newer messages


Back to Room ListRoom Version: 9