diff --git a/modules/outputs/initramfs.nix b/modules/outputs/initramfs.nix index c666c77..b1e0ea8 100644 --- a/modules/outputs/initramfs.nix +++ b/modules/outputs/initramfs.nix @@ -36,7 +36,7 @@ in kernel.config = { BLK_DEV_INITRD = "y"; INITRAMFS_SOURCE = builtins.toJSON "${config.system.outputs.initramfs}"; -# INITRAMFS_COMPRESSION_LZO = "y"; + INITRAMFS_COMPRESSION_ZSTD = "y"; }; system.outputs = { diff --git a/pkgs/kernel/default.nix b/pkgs/kernel/default.nix index 4ddf1dd..6891384 100644 --- a/pkgs/kernel/default.nix +++ b/pkgs/kernel/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [buildPackages.stdenv.cc] ++ (with buildPackages.pkgs; [ rsync bc bison flex pkg-config - openssl ncurses.all perl + openssl ncurses.all perl zstd ]); CC = "${stdenv.cc.bintools.targetPrefix}gcc"; HOSTCC = with buildPackages.pkgs;