From 6748c4050a228ea7b7a1ca612fd7a3cc23ef556b Mon Sep 17 00:00:00 2001 From: tootbrute Date: Sun, 11 May 2025 16:31:54 +0800 Subject: [PATCH] fixed initrd not getting IP address --- hardware-configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index d740759..e9a4dd4 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -11,6 +11,8 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ "r8169" ]; #added for remote unlock, wifi is rtl8188ee, r8169 eth boot.kernelModules = [ "kvm-intel" ]; + boot.initrd.network.udhcpc.enable = true; + boot.initrd.network.flushBeforeStage2 = true; boot.kernelParams = [ ]; boot.extraModulePackages = [ ];