Skip to content

Commit bd47664

Browse files
authored
Merge pull request #1667 from concatime/feat/add-genet-module-to-initrd-if-netboot
raspberry-pi/4: add genet module to initrd if netboot
2 parents be02d16 + ec13512 commit bd47664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

raspberry-pi/4/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"vc4"
3636
"pcie_brcmstb" # required for the pcie bus to work
3737
"reset-raspberrypi" # required for vl805 firmware to load
38-
];
38+
]
39+
++ lib.optional config.boot.initrd.network.enable "genet";
3940

4041
# Allow building kernel
4142
initrd.systemd.tpm2.enable = false;

0 commit comments

Comments
 (0)