kexec: switch to xz compressor for initrd
This commit is contained in:
parent
d8293de5be
commit
f4b3c682cf
1 changed files with 2 additions and 0 deletions
|
@ -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" { } ''
|
||||
|
|
Loading…
Reference in a new issue