| 14 Nov 2024 |
K900 | Because this can't possibly evaluate in pure mode:
imports = [
<nixos-wsl/modules>
];
| 20:59:36 |
LiteLotus | In reply to @k900:0upti.me And how are you building it? sudo nixos-rebuild switch --flake ~/.nixos#wsl | 21:00:04 |
K900 | OK that's fine | 21:02:50 |
K900 | Then you just need to figure out why that module is not being imported at all | 21:02:59 |
LiteLotus | wasnt in the default, it is now, but its still giving me the same error | 21:03:23 |
LiteLotus | https://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/modules/wsl/default.nix#L5 | 21:04:03 |
K900 | Well it's still not imported then | 21:04:08 |
K900 | Because again, the <channel reference> would instantly abort | 21:04:15 |
LiteLotus | hmmmmm | 21:04:17 |
LiteLotus | i got rid of that | 21:04:29 |
K900 | OK, it's not imported because you're never importing that entire directory | 21:05:59 |
K900 | https://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/hosts/default.nix#L6-L8 | 21:06:09 |
LiteLotus | look alittle lower | 21:06:35 |
LiteLotus | https://git.litelot.us/litelotus/.nixos/src/commit/7e2a292e5f810007ea0d6c9be59fd0be72fea51a/hosts/default.nix#L32 | 21:06:36 |
K900 | Which is exactly why I'm saying you need to understand your config | 21:06:37 |
K900 | Yes, that's hosts/wsl/default.nix | 21:06:50 |
K900 | Not modules/wsl/default.nix | 21:06:54 |
LiteLotus | 🤦🏾♂️🤦🏾♂️ | 21:07:12 |
LiteLotus | yeah, that was it, thanks | 21:11:09 |
LiteLotus | completely read that import wrong, my bad | 21:11:23 |
LiteLotus | yeah, literally needed to fix that import and disable the boot config for wsl, and it worked perfectly | 21:29:15 |
LiteLotus | thanks @k900 | 21:29:20 |
LiteLotus | cant believe i missed that | 21:29:43 |
LiteLotus | now to do nix-on-droid | 21:47:20 |
| 16 Nov 2024 |
98765abc | 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 |  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 |