!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

339 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
14 Nov 2024
@litelotus:matrix.orgLiteLotushttps://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/modules/wsl/default.nix#L521:04:03
@k900:0upti.meK900Well it's still not imported then21:04:08
@k900:0upti.meK900 Because again, the <channel reference> would instantly abort 21:04:15
@litelotus:matrix.orgLiteLotushmmmmm21:04:17
@litelotus:matrix.orgLiteLotusi got rid of that21:04:29
@k900:0upti.meK900OK, it's not imported because you're never importing that entire directory21:05:59
@k900:0upti.meK900https://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/hosts/default.nix#L6-L821:06:09
@litelotus:matrix.orgLiteLotuslook alittle lower21:06:35
@litelotus:matrix.orgLiteLotushttps://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/hosts/default.nix#L3221:06:36
@k900:0upti.meK900Which is exactly why I'm saying you need to understand your config21:06:37
@k900:0upti.meK900 Yes, that's hosts/wsl/default.nix 21:06:50
@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

Show newer messages


Back to Room ListRoom Version: 9