From ec135126c1ed79be84f2abd13b0981b5d4bc89ff Mon Sep 17 00:00:00 2001 From: "Issam E. Maghni" Date: Tue, 4 Nov 2025 10:05:41 -0500 Subject: [PATCH] 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 --- raspberry-pi/4/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/raspberry-pi/4/default.nix b/raspberry-pi/4/default.nix index d862a2e7..46f8d58c 100644 --- a/raspberry-pi/4/default.nix +++ b/raspberry-pi/4/default.nix @@ -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;