mirror of
https://codeberg.org/geekygays/nixconf.git
synced 2024-11-04 23:57:12 +00:00
Trying to fix missing serial port.
This commit is contained in:
parent
b7ec5f6ab5
commit
00ab2886d3
1 changed files with 11 additions and 9 deletions
|
@ -21,20 +21,22 @@
|
|||
boot = {
|
||||
supportedFilesystems.zfs = lib.mkForce false;
|
||||
kernelPackages = lib.mkDefault pkgs.linuxKernel.packages.linux_rpi3;
|
||||
initrd.availableKernelModules = [
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"vc4"
|
||||
"bcm2835_dma" "i2c_bcm2835"
|
||||
"pcie_brcmstb" # required for the pcie bus to work
|
||||
"reset-raspberrypi" # required for vl805 firmware to load
|
||||
initrd.kernelModules = [
|
||||
"usbhid" "usb_storage"
|
||||
"vc4" "bcm2835_dma" "i2c_bcm2835"
|
||||
];
|
||||
|
||||
loader.grub.enable = lib.mkDefault false;
|
||||
loader = {
|
||||
grub.enable = lib.mkDefault false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
networking.wireless.enable = true;
|
||||
|
||||
hardware.deviceTree.filter = "bcm2837-rpi-3-b-plus.dtb";
|
||||
hardware.deviceTree = {
|
||||
enable = true;
|
||||
filter = "bcm2837-rpi-3-b-plus.dtb";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue