1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

raspberry-pi/4: move filter into default.nix

This commit is contained in:
Jacek Galowicz 2021-05-27 04:41:34 +00:00
parent c4399b921f
commit 5a67562945
2 changed files with 1 additions and 1 deletions

View file

@ -15,6 +15,7 @@
}; };
}; };
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
# Required for the Wireless firmware # Required for the Wireless firmware
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;

View file

@ -29,7 +29,6 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# Configure for modesetting in the device tree # Configure for modesetting in the device tree
hardware.deviceTree = { hardware.deviceTree = {
filter = "bcm2711-rpi-*.dtb";
overlays = [ overlays = [
# Equivalent to: # Equivalent to:
# https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/cma-overlay.dts # https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/cma-overlay.dts