mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
emergencyMode, emergencyAccess: cross reference options in docs.
I was confused why I could not get an emergency access console despite setting systemd.emergencyMode=true. Turns out there is another similar option `boot.initrd.systemd.emergencyAccess` that I should have used. This is confusing and this change should make it more clear vie the docs of both these options.
This commit is contained in:
parent
2795c506fe
commit
d5d323a907
2 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
||||||
{ config, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
options,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
@ -15,6 +20,8 @@
|
||||||
instances) have no console of any kind, emergency mode doesn't
|
instances) have no console of any kind, emergency mode doesn't
|
||||||
make sense, and it's better to continue with the boot insofar
|
make sense, and it's better to continue with the boot insofar
|
||||||
as possible.
|
as possible.
|
||||||
|
|
||||||
|
For initrd emergency access, use ${options.boot.initrd.systemd.emergencyAccess} instead.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -266,6 +266,8 @@ in
|
||||||
|
|
||||||
Can also be set to a hashed super user password to allow
|
Can also be set to a hashed super user password to allow
|
||||||
authenticated access to the emergency mode.
|
authenticated access to the emergency mode.
|
||||||
|
|
||||||
|
For emergency access after initrd, use `${options.systemd.enableEmergencyMode}` instead.
|
||||||
'';
|
'';
|
||||||
default = false;
|
default = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue