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 { qemuExtraConf = mkOption {
type = with types; attrsOf (oneOf [ str int ]); type = with types; attrsOf (oneOf [ str int ]);
default = {}; default = {};
example = literalExpression ''{ example = literalExpression ''
cpu = "host"; {
onboot = 1; cpu = "host";
}''; onboot = 1;
}
'';
description = lib.mdDoc '' description = lib.mdDoc ''
Additional options appended to qemu-server.conf Additional options appended to qemu-server.conf
''; '';