about summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems/litestream/default.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-30 14:08:50 +0200
committerpennae <github@quasiparticle.net>2022-08-31 17:27:36 +0200
commitf2ea09ecbe1fa1da32eaa6e036d64ac324a2986f (patch)
tree8635d6ef91a1d530e32d8eb0e360c42b1c755b6d /nixos/modules/services/network-filesystems/litestream/default.nix
parent722b99bc0eb57711c0498a86a3f55e6c69cdb05f (diff)
nixos/*: convert options with listings
minor rendering changes.
Diffstat (limited to 'nixos/modules/services/network-filesystems/litestream/default.nix')
-rw-r--r--nixos/modules/services/network-filesystems/litestream/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/network-filesystems/litestream/default.nix b/nixos/modules/services/network-filesystems/litestream/default.nix
index 7db91f644e8ac..884ffa50e7c67 100644
--- a/nixos/modules/services/network-filesystems/litestream/default.nix
+++ b/nixos/modules/services/network-filesystems/litestream/default.nix
@@ -40,8 +40,8 @@ in
       type = types.nullOr types.path;
       default = null;
       example = "/run/secrets/litestream";
-      description = ''
-        Environment file as defined in <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
+      description = lib.mdDoc ''
+        Environment file as defined in {manpage}`systemd.exec(5)`.
 
         Secrets may be passed to the service without adding them to the
         world-readable Nix store, by specifying placeholder variables as
@@ -54,11 +54,11 @@ in
         variable values. If no value is set then it will be replaced with an
         empty string.
 
-        <programlisting>
+        ```
           # Content of the environment file
           LITESTREAM_ACCESS_KEY_ID=AKIAxxxxxxxxxxxxxxxx
           LITESTREAM_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxx
-        </programlisting>
+        ```
 
         Note that this file needs to be available on the host on which
         this exporter is running.