kexec-installer: use latest kernel compatible with zfs
This commit is contained in:
parent
3db198a018
commit
4ad9c55cf2
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ in {
|
||||||
# We are stateless, so just default to latest.
|
# We are stateless, so just default to latest.
|
||||||
system.stateVersion = config.system.nixos.version;
|
system.stateVersion = config.system.nixos.version;
|
||||||
|
|
||||||
|
# use latest kernel we can support to get more hardware support
|
||||||
|
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
|
|
||||||
# This is a variant of the upstream kexecScript that also allows embedding
|
# This is a variant of the upstream kexecScript that also allows embedding
|
||||||
# a ssh key.
|
# a ssh key.
|
||||||
system.build.kexecRun = pkgs.runCommand "kexec-run" {} ''
|
system.build.kexecRun = pkgs.runCommand "kexec-run" {} ''
|
||||||
|
|
Loading…
Reference in a new issue