git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitcc70183ceef7abc08a98453b33f9a8b24c3a123e authorNikolay Amiantov <ab@fmap.me> dateWed 3 Feb 2016, 13:29 (11 years ago) parent889351a
1 file changed+1−1
nixos/modules/system/boot/initrd-network.nix+1−1
nixos/modules/system/boot/initrd-network.nix+1−1
@@ -65,7 +65,7 @@ in
6565
6666 boot.initrd.preLVMCommands =
6767 # Search for interface definitions in command line.
68− ''
68+ mkBefore ''
6969 for o in $(cat /proc/cmdline); do
7070 case $o in
7171 ip=*)