@@ -244,13 +244,12 @@ in
244244 publicKey = mkOption {
245245 default = null;
246246 type = types.nullOr types.str;
247+ example = "ecdsa-sha2-nistp521 AAAAE2VjZHN...UEPg==";
247248 description = ''
248249 The public key data for the host. You can fetch a public key
249250 from a running SSH server with the <command>ssh-keyscan</command>
250251 command. The public key should not include any host names, only
251− the key type and the key itself. It is allowed to add several
252− lines here, each line will be treated as type/key pair and the
253− host names will be prepended to each line.
252+ the key type and the key itself.
254253 '';
255254 };
256255 publicKeyFile = mkOption {