This commit is contained in:
mjallen18
2025-01-31 13:10:07 -06:00
parent 19605b7e63
commit 27136b0894
5 changed files with 41 additions and 22 deletions

19
hosts/pi4/boot.nix Normal file
View File

@@ -0,0 +1,19 @@
{ pkgs, lib, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
initrd.availableKernelModules = [
"xhci_pci"
"usbhid"
"usb_storage"
];
# We're using EFI so enable systemd-boot
loader = {
systemd-boot.enable = true;
generic-extlinux-compatible.enable = lib.mkForce false;
};
# kernelParams = [
# "snd_bcm2835.enable_hdmi=1"
# ];
};
}