use systemd-networkd and include kernel modules in initrd
This commit is contained in:
parent
fa3dad6b14
commit
304140327a
1 changed files with 19 additions and 1 deletions
|
@ -80,7 +80,6 @@
|
|||
boot.loader.generic-extlinux-compatible.enable = false;
|
||||
#system.requiredKernelConfig = lib.mkForce [];
|
||||
system.autoUpgrade.allowReboot = true;
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.crossSystem = {
|
||||
config = "riscv64-unknown-linux-gnu";
|
||||
|
@ -99,4 +98,23 @@
|
|||
done
|
||||
'';
|
||||
hardware.deviceTree.name = "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
|
||||
boot.initrd.kernelModules = [
|
||||
"nvme"
|
||||
"pcie_starfive"
|
||||
"phy_jh7110_pcie"
|
||||
"dwmac_starfive"
|
||||
"stmmac_platform"
|
||||
"clk_starfive_jh7110_vout"
|
||||
"cdns3_starfive"
|
||||
"clk_starfive_jh7110_isp"
|
||||
"clk_starfive_jh7110_aon"
|
||||
"clk_starfive_jh7110_stg"
|
||||
"dw_mmc_starfive"
|
||||
"jh7110_pwmdac"
|
||||
"jh7110_tdm"
|
||||
"jh7110_trng"
|
||||
"phy_jh7110_dphy_rx"
|
||||
"phy_jh7110_usb"
|
||||
];
|
||||
systemd.network.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue