rpi-server: fix USB/PCIe breakage

This commit is contained in:
Sebastien Bourdeauducq 2021-04-17 16:56:36 +08:00
parent 4d0768364a
commit 88c8dafe53

View File

@ -16,6 +16,7 @@
dtparam=audio=on
'';
};
boot.kernelParams = ["cma=64M"]; # work around https://github.com/raspberrypi/linux/issues/3208
boot.kernelPackages = if rpi4 then pkgs.linuxPackages_rpi4 else pkgs.linuxPackages_rpi3;
hardware.deviceTree.enable = true;
hardware.deviceTree.base = pkgs.device-tree_rpi;