initramfs: introduce compression

master
Raito Bezarius 1 year ago
parent 94e542b2a8
commit bae6a905ac

@ -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 {

Loading…
Cancel
Save