mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 10:58:37 +08:00
raspberry-pi/4: add genet module to initrd if netboot
This module is required to have Ethernet in initial RAM disk. It solves the issue encountered in this thread: https://discourse.nixos.org/t/netboot-into-nfs-root-instead-of-the-fat-netboot-ramdisk/8556/2
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
"vc4"
|
||||
"pcie_brcmstb" # required for the pcie bus to work
|
||||
"reset-raspberrypi" # required for vl805 firmware to load
|
||||
];
|
||||
]
|
||||
++ lib.optional config.boot.initrd.network.enable "genet";
|
||||
|
||||
# Allow building kernel
|
||||
initrd.systemd.tpm2.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user