Skip to content

Commit 15df821

Browse files
committed
mention nixos installer detection
1 parent 9562c13 commit 15df821

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@ configuration.
1111

1212
## Requirements
1313

14-
- x86_64 Linux system with kexec support (most x86_64 machine do have kexec support)
14+
`nixos-remote` can detect nixos installer if those contain the identifier
15+
`VARIANT=installer` in their `/etc/os-release` file. This is the case for the
16+
nixos-unstable installer and will be also part of nixos 23.05. If installer is
17+
detected `nixos-remote` will not try to kexec into its own image.
18+
19+
If your system is not booted into a nixos installer than the following
20+
requirements apply for kexec to succeed:
21+
22+
- x86_64 Linux system with kexec support (most x86_64 machine do have kexec
23+
support) or you have to provide your own [image](https://github.com/numtide/nixos-anywhere#using-your-own-kexec-image)
1524
- At least 2.5GB RAM (swap does not count). If you do not have enough RAM you
1625
will see failures unpacking the initrd), this is because kexec needs to load
1726
the whole nixos into memory.

0 commit comments

Comments
 (0)