I have Musnix enabled, but I can’t use the RT kernels, cause for some reason, I have crashes all the time with them.
I do however use other Musnix features, so I need to keep it enabled, but now I need a newer kernel for QEMU WSL2
boot.kernelPackages = pkgs.linuxPackages_latest;
This won’t work when Musnix is enabled.
error: The option `boot.kernelPackages' is defined multiple times while it's expected to be unique.
Definition values:
- In `/nix/store/ljvhc4bn5lx96jf7l5h6bs01gqygj51m-musnix/musnix/modules/kernel.nix'
- In `/etc/nixos/configuration.nix'
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.