Unverified Commit 604b9553 authored by Felix Stupp's avatar Felix Stupp
Browse files

nixos/netboot: use initrd.compressorArgs on netbootRamdisk

- because already boot.initrd.compressor is used, one could expect
  compressorArgs is also used
- this allows users to customize the compression speed for netboot
  builds
parent 3b837fa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ with lib;

    # Create the initrd
    system.build.netbootRamdisk = pkgs.makeInitrdNG {
      inherit (config.boot.initrd) compressor;
      inherit (config.boot.initrd) compressor compressorArgs;
      prepend = [ "${config.system.build.initialRamdisk}/initrd" ];

      contents = [