We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33052d5 commit 430a56dCopy full SHA for 430a56d
raspberry-pi/4/modesetting.nix
@@ -27,6 +27,13 @@ in
27
};
28
29
config = lib.mkIf cfg.enable {
30
+ # fixes a crash: https://github.com/raspberrypi/linux/issues/5568
31
+ # can be removed for >= nixos 23.11: https://github.com/NixOS/nixpkgs/pull/247826
32
+ boot.kernelParams = [ "kunit.enable=0" ];
33
+
34
+ # doesn't work for the CM module, so we exclude e.g. bcm2711-rpi-cm4.dts
35
+ hardware.deviceTree.filter = "bcm2711-rpi-4*.dtb";
36
37
# Configure for modesetting in the device tree
38
hardware.deviceTree = {
39
overlays = [
0 commit comments