Hi folks,
I wanted to try to install NixOS via kexec. I know I can use nixos-anywhere
but I wanted to try to use kexec first manually.
I followed Wiki: Install NixOS on a Server With a Different Filesystem - NixOS Wiki
And on NixOS 23.05 I created the file as wiki suggests and run:
nix-build '<nixpkgs/nixos>' -A config.system.build.kexec_tarball -I nixos-config=./myconfig.nix -Q
But I got error:
error: The option `kexec' does not exist. Definition values:
- In `/root/kexec.nix':
{
autoReboot = false;
}
I looked at NixOS Search and there is no kexec.autoReboot
option listed there.
Could you please tell me how to build the Kexec tarball?
Thank you.