From 2048a8ca0250abf51192ebc9c51c92a802cbf9b2 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Fri, 30 Jun 2023 18:14:43 +0200 Subject: nixos/proxmox-image: fix example rendering --- nixos/modules/virtualisation/proxmox-image.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'nixos/modules/virtualisation') diff --git a/nixos/modules/virtualisation/proxmox-image.nix b/nixos/modules/virtualisation/proxmox-image.nix index b5d4ecd026839..1074b02d0ebd2 100644 --- a/nixos/modules/virtualisation/proxmox-image.nix +++ b/nixos/modules/virtualisation/proxmox-image.nix @@ -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 ''; -- cgit 1.4.1