14 Nov 2024 |
K900 | What did you change? | 20:56:53 |
K900 | And how are you building it? | 20:56:57 |
LiteLotus | error:
Failed assertions:
- The ‘fileSystems’ option does not specify your root file system.```
| 20:56:58 |
LiteLotus | In reply to @k900:0upti.me What did you change? https://git.litelot.us/litelotus/.nixos/src/commit/0394400a559adef03f73254dbd1fef19865e9314/flake.nix#L20 https://git.litelot.us/litelotus/.nixos/src/commit/0ac37bf429c4ff460ca21f98e7f11ff14f69aafb/modules/wsl/system.nix#L4 | 20:59:02 |
K900 | That file is most definitely not evaluated | 20:59:24 |
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 |