Skip to content

Commit 4d81c41

Browse files
committed
nixos-modules/microvm/options: fix markdown syntax
1 parent 6087f34 commit 4d81c41

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

nixos-modules/microvm/options.nix

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ in
2424
What CPU to emulate, if any. If different from the host
2525
architecture, it will have a serious performance hit.
2626
27+
::: {.note}
2728
Only supported with qemu.
29+
:::
2830
'';
2931
};
3032

@@ -163,13 +165,15 @@ in
163165
When using the SLiRP user networking (default), this option allows to
164166
forward ports to/from the host/guest.
165167
166-
<warning><para>
167-
If the NixOS firewall on the virtual machine is enabled, you also
168-
have to open the guest ports to enable the traffic between host and
169-
guest.
170-
</para></warning>
168+
::: {.warning}
169+
If the NixOS firewall on the virtual machine is enabled, you
170+
also have to open the guest ports to enable the traffic
171+
between host and guest.
172+
:::
171173
172-
<note><para>Currently QEMU supports only IPv4 forwarding.</para></note>
174+
::: {.note}
175+
Currently QEMU supports only IPv4 forwarding.
176+
:::
173177
'';
174178
};
175179
volumes = mkOption {
@@ -184,7 +188,7 @@ in
184188
label = mkOption {
185189
type = nullOr str;
186190
default = null;
187-
description = "Label of the volume, if any. Only applicable if autoCreate is true; otherwise labeling of the volume must be done manually";
191+
description = "Label of the volume, if any. Only applicable if `autoCreate` is true; otherwise labeling of the volume must be done manually";
188192
};
189193
mountPoint = mkOption {
190194
type = nullOr path;

0 commit comments

Comments
 (0)