emergencyMode, emergencyAccess: cross reference options in docs. (#410418)

This commit is contained in:
Jörg Thalheim 2025-05-26 14:12:41 +02:00 committed by GitHub
commit 131462b962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,9 @@
{ config, lib, ... }:
{
config,
lib,
options,
...
}:
{
###### interface
@ -15,6 +20,8 @@
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 ${options.boot.initrd.systemd.emergencyAccess} instead.
'';
};

View file

@ -266,6 +266,8 @@ in
Can also be set to a hashed super user password to allow
authenticated access to the emergency mode.
For emergency access after initrd, use `${options.systemd.enableEmergencyMode}` instead.
'';
default = false;
};