kexec: switch to xz compressor for initrd

This commit is contained in:
Jörg Thalheim 2024-09-24 22:34:07 +02:00
parent d8293de5be
commit f4b3c682cf

View file

@ -21,6 +21,7 @@ in
../serial.nix
../restore-remote-access.nix
];
options = {
system.kexec-installer.name = lib.mkOption {
type = lib.types.str;
@ -32,6 +33,7 @@ in
};
config = {
boot.initrd.compressor = "xz";
# This is a variant of the upstream kexecScript that also allows embedding
# a ssh key.
system.build.kexecRun = pkgs.runCommand "kexec-run" { } ''