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