systemd.enableEmergencyMode
Whether to enable emergency mode, which is an
sulogin shell started on the console if
mounting a filesystem fails. Since some machines (like EC2
instances) have no console of any kind, emergency mode doesn't
make sense, and it's better to continue with the boot insofar
as possible.
For initrd emergency access, use boot.initrd.systemd.emergencyAccess instead.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/system/boot/emergency-mode.nix>