nix-server/hosts/nixos-server-reid/raspberry-pi-4b.nix
2026-04-22 23:21:34 -07:00

14 lines
498 B
Nix

{ pkgs, lib, ... }:
{
# uas (uasp, scsi over usb), usbcore (needed(???) for the drive at boot)
# pcie_brcmstb (required for pcie), reset-raspberrypi (needed for vl805 firmware to load)
boot.initrd.availableKernelModules = [ "pcie_brcmstb" "reset-raspberrypi" "uas" "usbcore" ];
# needed for initial framebuffer logs to appear on raspberry pi
# i think. this fixes it but idk if they are all required
boot.kernelParams = [
"8250.nr_uarts=1"
"cma=128M"
"console=tty0"
];
}