From bae6a905acdaa1cfdf4347025e34c8fabda9f81a Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Wed, 11 Oct 2023 18:21:45 +0200 Subject: [PATCH] initramfs: introduce compression --- src/initramfs/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/initramfs/default.nix b/src/initramfs/default.nix index cc8e064..9ee623c 100644 --- a/src/initramfs/default.nix +++ b/src/initramfs/default.nix @@ -26,6 +26,7 @@ , withCryptsetup ? false , withKexec ? false , withNvramTool ? false # nixpkgsOnBuildForHost.stdenv.hostPlatform.isx86 +, compress ? false }: let @@ -39,7 +40,7 @@ six-initrd.override { inherit lib; pkgsForBuild = nixpkgsOnBuildForBuild; pkgsForHost = nixpkgsOnBuildForHost; - inherit kernel modules; + inherit kernel modules compress; contents = lib.optionalAttrs withSignify { "bin/signify" = "${signify}/bin/signify"; } // lib.optionalAttrs withLvm {