diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-30 18:14:43 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-30 18:14:43 +0200 |
commit | 2048a8ca0250abf51192ebc9c51c92a802cbf9b2 (patch) | |
tree | a359282d917446c0519818c5554fbb96f6797a9e /nixos | |
parent | 0000004f80927e7a92630218c5716ab57e10577f (diff) |
nixos/proxmox-image: fix example rendering
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/virtualisation/proxmox-image.nix | 10 |
1 files changed, 6 insertions, 4 deletions
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 ''; |