8 systemd.enableEmergencyMode = lib.mkOption {
10 type = lib.types.bool;
12 Whether to enable emergency mode, which is an
13 {command}`sulogin` shell started on the console if
14 mounting a filesystem fails. Since some machines (like EC2
15 instances) have no console of any kind, emergency mode doesn't
16 make sense, and it's better to continue with the boot insofar
27 systemd.additionalUpstreamSystemUnits = lib.optionals
28 config.systemd.enableEmergencyMode [
29 "emergency.target" "emergency.service"