Merge pull request #176796 from erikarvstedt/improve-netboot-initrd

nixos/netboot: use `makeInitrdNG` to shrink ramdisk size
This commit is contained in:
Linus Heckemann 2022-07-04 09:23:38 +02:00 committed by GitHub
commit 0808ed8252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ with lib;
# Create the initrd
system.build.netbootRamdisk = pkgs.makeInitrd {
system.build.netbootRamdisk = pkgs.makeInitrdNG {
inherit (config.boot.initrd) compressor;
prepend = [ "${config.system.build.initialRamdisk}/initrd" ];