summary refs log tree commit diff
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-13 11:47:02 +0200
committerpennae <82953136+pennae@users.noreply.github.com>2022-08-19 22:40:58 +0200
commita4fdff515b59e3fd97537625f31044e00b6c71ab (patch)
treead94420e6fa9bbc997c87c13f169c853574d2b7d
parente4ed177f828337062662983e15434525dd168c7d (diff)
downloadnixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar.gz
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar.bz2
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar.lz
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar.xz
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.tar.zst
nixpkgs-a4fdff515b59e3fd97537625f31044e00b6c71ab.zip
nixos/*: turn inline code blocks into more appropriate things
-rw-r--r--nixos/modules/config/zram.nix2
-rw-r--r--nixos/modules/services/monitoring/mackerel-agent.nix2
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix
index 34e80df47a4..e8e3fff01e0 100644
--- a/nixos/modules/config/zram.nix
+++ b/nixos/modules/config/zram.nix
@@ -108,7 +108,7 @@ in
           but is slow. <literal>lz4</literal> has bad compression, but is fast.
           <literal>zstd</literal> is both good compression and fast, but requires newer kernel.
           You can check what other algorithms are supported by your zram device with
-          <programlisting>cat /sys/class/block/zram*/comp_algorithm</programlisting>
+          <command>cat /sys/class/block/zram*/comp_algorithm</command>
         '';
       };
     };
diff --git a/nixos/modules/services/monitoring/mackerel-agent.nix b/nixos/modules/services/monitoring/mackerel-agent.nix
index 89c6d4d6c65..3d09df6f8f7 100644
--- a/nixos/modules/services/monitoring/mackerel-agent.nix
+++ b/nixos/modules/services/monitoring/mackerel-agent.nix
@@ -24,7 +24,7 @@ in {
         Path to file containing the Mackerel API key. The file should contain a
         single line of the following form:
 
-        <literallayout>apikey = "EXAMPLE_API_KEY"</literallayout>
+        <literal>apikey = "EXAMPLE_API_KEY"</literal>
       '';
     };
 
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index feee7494a71..0b5dcaa03e7 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -572,7 +572,7 @@ in {
       description = ''
         Secret options which will be appended to nextcloud's config.php file (written as JSON, in the same
         form as the <xref linkend="opt-services.nextcloud.extraOptions"/> option), for example
-        <programlisting>{"redis":{"password":"secret"}}</programlisting>.
+        <literal>{"redis":{"password":"secret"}}</literal>.
       '';
     };