mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +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:
parent
aa85ea337b
commit
5febaab6bd
3 changed files with 5 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
|
||||
hardware.deviceTree.filter = lib.mkDefault "bcm2711-rpi-*.dtb";
|
||||
|
||||
|
||||
assertions = [
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue