Custom kernel versions #44
-
How are we supposed to set custom kernel versions when using rpi-nix? I would like to run a newer version that has in-tree support for bcachefs (kernel 6.7+), but I realize that this project sets the kernel version for me. Is there a way I can get a newer kernel version without breaking my system? I guess another question would be if it's possible to use the official (non-rpi foundation) linux kernels on my pi with or without this project. Edit: I found an option called |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@tstat would you know the answer to this? |
Beta Was this translation helpful? Give feedback.
Yes, I expect that your edit would work. You also don't need to override the input, but can instead add to the
pkgs.rpi-kernels
dictionary with your ownversion/board
pair and set those options inraspberry-pi-nix.kernel-version
andraspberry-pi-nix.board
options to match.This project is arranged to support multiple kernel/board versions (see here), so a PR to add 6.11 as a kernel option that tracks the rpi linux branch would also be accepted.
This is possible, with various levels of success. You will find plenty of threads about it on the nix…