mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
raspberry-pi/4: move filter into default.nix
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
hardware.deviceTree.filter = "bcm2711-rpi-*.dtb";
|
||||
|
||||
# Required for the Wireless firmware
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
@@ -29,7 +29,6 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Configure for modesetting in the device tree
|
||||
hardware.deviceTree = {
|
||||
filter = "bcm2711-rpi-*.dtb";
|
||||
overlays = [
|
||||
# Equivalent to:
|
||||
# https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/cma-overlay.dts
|
||||
|
||||
Reference in New Issue
Block a user