nixos/ttyd: fix example rendering

This commit is contained in:
Sandro Jäckel 2023-06-30 18:14:37 +02:00
parent 000004d123
commit 0000004f80
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -78,11 +78,12 @@ in
clientOptions = mkOption {
type = types.attrsOf types.str;
default = {};
example = literalExpression ''{
fontSize = "16";
fontFamily = "Fira Code";
}'';
example = literalExpression ''
{
fontSize = "16";
fontFamily = "Fira Code";
}
'';
description = lib.mdDoc ''
Attribute set of client options for xtermjs.
<https://xtermjs.org/docs/api/terminal/interfaces/iterminaloptions/>