about summary refs log tree commit diff
path: root/nixos/modules/security
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-06-03 21:47:57 +0200
committerpennae <github@quasiparticle.net>2022-06-12 12:44:38 +0200
commit320aa2a7910a71371204d672ff612cc9af5337da (patch)
tree05aaeaff9dbee1e701b999752badcb97728c265f /nixos/modules/security
parent2f00d7ac51207d061fb9174b130ae3bb8b2d651a (diff)
treewide: attempt at markdown option docs
Diffstat (limited to 'nixos/modules/security')
-rw-r--r--nixos/modules/security/systemd-confinement.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/nixos/modules/security/systemd-confinement.nix b/nixos/modules/security/systemd-confinement.nix
index f3a2de3bf87a0..07b725effb7d1 100644
--- a/nixos/modules/security/systemd-confinement.nix
+++ b/nixos/modules/security/systemd-confinement.nix
@@ -22,16 +22,17 @@ in {
       options.confinement.fullUnit = lib.mkOption {
         type = types.bool;
         default = false;
-        description = ''
+        description = lib.mdDoc ''
           Whether to include the full closure of the systemd unit file into the
           chroot, instead of just the dependencies for the executables.
 
-          <warning><para>While it may be tempting to just enable this option to
+          ::: {.warning}
+          While it may be tempting to just enable this option to
           make things work quickly, please be aware that this might add paths
           to the closure of the chroot that you didn't anticipate. It's better
-          to use <option>confinement.packages</option> to <emphasis
-          role="strong">explicitly</emphasis> add additional store paths to the
-          chroot.</para></warning>
+          to use {option}`confinement.packages` to **explicitly** add additional store paths to the
+          chroot.
+          :::
         '';
       };