!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
14 Nov 2024
@k900:0upti.meK900What did you change?20:56:53
@k900:0upti.meK900And how are you building it?20:56:57
@litelotus:matrix.orgLiteLotus
error:
       Failed assertions:
       - The ‘fileSystems’ option does not specify your root file system.```
20:56:58
@litelotus:matrix.orgLiteLotus
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:0upti.meK900That file is most definitely not evaluated20:59:24
@k900:0upti.meK900 Because this can't possibly evaluate in pure mode:

  imports = [
    <nixos-wsl/modules>
  ];
20:59:36
@litelotus:matrix.orgLiteLotus
In reply to @k900:0upti.me
And how are you building it?
sudo nixos-rebuild switch --flake ~/.nixos#wsl
21:00:04
@k900:0upti.meK900OK that's fine21:02:50
@k900:0upti.meK900Then you just need to figure out why that module is not being imported at all21:02:59
@litelotus:matrix.orgLiteLotuswasnt in the default, it is now, but its still giving me the same error21:03:23
@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

Show newer messages


Back to Room ListRoom Version: 9