about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nixos/modules/system/boot/initrd-network.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/initrd-network.nix b/nixos/modules/system/boot/initrd-network.nix
index abf88734a558..8ccf56ff6e0d 100644
--- a/nixos/modules/system/boot/initrd-network.nix
+++ b/nixos/modules/system/boot/initrd-network.nix
@@ -65,7 +65,7 @@ in
 
     boot.initrd.preLVMCommands =
       # Search for interface definitions in command line.
-      ''
+      mkBefore ''
         for o in $(cat /proc/cmdline); do
           case $o in
             ip=*)