nixos/initrd: improve descriptions

The improved lspci command shows all available ethernet controllers and
their kernel modules. Previously, the user had to provide the slot name
of a specific device.
This commit is contained in:
Erik Arvstedt 2018-10-02 17:38:06 +02:00
parent 395019b38d
commit 215c91d79e
2 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,8 @@ in
is acquired using DHCP. is acquired using DHCP.
You should add the module(s) required for your network card to You should add the module(s) required for your network card to
boot.initrd.availableKernelModules. lspci -v -s <ethernet controller> boot.initrd.availableKernelModules.
<literal>lspci -v | grep -iA8 'network\|ethernet'</literal>
will tell you which. will tell you which.
''; '';
}; };

View File

@ -82,6 +82,7 @@ in
default = config.users.users.root.openssh.authorizedKeys.keys; default = config.users.users.root.openssh.authorizedKeys.keys;
description = '' description = ''
Authorized keys for the root user on initrd. Authorized keys for the root user on initrd.
Note that Dropbear doesn't support OpenSSH's Ed25519 key type.
''; '';
}; };