nixos/initrd-network: use ipconfig from klibc

This apparently has features that the version from Arch's
mkinitcpio-nfs-utils does not have. Fixes #75314.
This commit is contained in:
Franz Pletz 2020-02-08 14:29:04 +01:00
parent 4ba8086aa1
commit d25c1a8fdc
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -103,7 +103,7 @@ in
boot.initrd.kernelModules = [ "af_packet" ];
boot.initrd.extraUtilsCommands = ''
copy_bin_and_libs ${pkgs.mkinitcpio-nfs-utils}/bin/ipconfig
copy_bin_and_libs ${pkgs.klibc}/lib/klibc/bin.static/ipconfig
'';
boot.initrd.preLVMCommands = mkBefore (