From a4fdff515b59e3fd97537625f31044e00b6c71ab Mon Sep 17 00:00:00 2001 From: pennae Date: Sat, 13 Aug 2022 11:47:02 +0200 Subject: [PATCH] nixos/*: turn inline code blocks into more appropriate things --- nixos/modules/config/zram.nix | 2 +- nixos/modules/services/monitoring/mackerel-agent.nix | 2 +- nixos/modules/services/web-apps/nextcloud.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/config/zram.nix b/nixos/modules/config/zram.nix index 34e80df47a40..e8e3fff01e08 100644 --- a/nixos/modules/config/zram.nix +++ b/nixos/modules/config/zram.nix @@ -108,7 +108,7 @@ in but is slow. lz4 has bad compression, but is fast. zstd is both good compression and fast, but requires newer kernel. You can check what other algorithms are supported by your zram device with - cat /sys/class/block/zram*/comp_algorithm + cat /sys/class/block/zram*/comp_algorithm ''; }; }; diff --git a/nixos/modules/services/monitoring/mackerel-agent.nix b/nixos/modules/services/monitoring/mackerel-agent.nix index 89c6d4d6c65b..3d09df6f8f71 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: - apikey = "EXAMPLE_API_KEY" + apikey = "EXAMPLE_API_KEY" ''; }; diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index feee7494a71a..0b5dcaa03e78 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 option), for example - {"redis":{"password":"secret"}}. + {"redis":{"password":"secret"}}. ''; };