From cc70183ceef7abc08a98453b33f9a8b24c3a123e Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 3 Feb 2016 13:29:08 +0300 Subject: initrd-network module: initialize network before other pre-LVM commands This is needed to ensure that network will be initialized before LUKS passphrase is asked. --- nixos/modules/system/boot/initrd-network.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=*) -- cgit 1.4.1