nixos/ssh: undeprecate knownHosts.«name».hostNames
hostNames being deprecated makes configuring hosts with multiple keys a pain. including the attr name of the entry in the host name list is a nice convenience though, so we'll retain it and clarify the documentation on how the actual host name list for an entry is put together.
This commit is contained in:
@@ -1311,9 +1311,11 @@
|
||||
<para>
|
||||
<link linkend="opt-programs.ssh.knownHosts">programs.ssh.knownHosts</link>
|
||||
has gained an <literal>extraHostNames</literal> option to
|
||||
replace <literal>hostNames</literal>.
|
||||
<literal>hostNames</literal> is deprecated, but still
|
||||
available for now.
|
||||
augment <literal>hostNames</literal>. It is now possible to
|
||||
use the attribute name of a <literal>knownHosts</literal>
|
||||
entry as the primary host name and specify secondary host
|
||||
names using <literal>extraHostNames</literal> without having
|
||||
to duplicate the primary host name.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
||||
Reference in New Issue
Block a user