1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-23 10:09:44 +01:00

raspberry-pi."4": fix build error with poe-hat, because of incompatibility with

compute module

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2023-05-12 19:47:31 +02:00
parent aa85ea337b
commit 5febaab6bd
No known key found for this signature in database
GPG key ID: 074048E893713170
3 changed files with 5 additions and 1 deletions

View file

@ -32,7 +32,7 @@
};
};
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
hardware.deviceTree.filter = lib.mkDefault "bcm2711-rpi-*.dtb";
assertions = [

View file

@ -13,6 +13,8 @@ in {
config = lib.mkIf cfg.enable {
hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true;
# doesn't work for the CM module, so we exclude e.g. bcm2711-rpi-cm4.dts
hardware.deviceTree.filter = "bcm2711-rpi-4*.dtb";
hardware.deviceTree = {
overlays = [

View file

@ -13,6 +13,8 @@ in {
config = lib.mkIf cfg.enable {
hardware.raspberry-pi."4".apply-overlays-dtmerge.enable = lib.mkDefault true;
# doesn't work for the CM module, so we exclude e.g. bcm2711-rpi-cm4.dts
hardware.deviceTree.filter = "bcm2711-rpi-4*.dtb";
hardware.deviceTree = {
overlays = [