nixos/proxmox-image: fix example rendering

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

View file

@ -98,10 +98,12 @@ with lib;
qemuExtraConf = mkOption {
type = with types; attrsOf (oneOf [ str int ]);
default = {};
example = literalExpression ''{
cpu = "host";
onboot = 1;
}'';
example = literalExpression ''
{
cpu = "host";
onboot = 1;
}
'';
description = lib.mdDoc ''
Additional options appended to qemu-server.conf
'';