about summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2023-10-18 22:59:26 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-10-20 16:22:40 +0100
commit142074c2a84ea2f018ed729e9ff6ee97c4f022b8 (patch)
treed63ed24230dc4d43156109a6c8cb4d655e921ed3 /nixos/modules/services/matrix
parentccf848f9dd1ac4fb7f9c9ef595aaca9f6cedd60c (diff)
downloadnixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.gz
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.bz2
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.lz
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.xz
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.zst
nixlib-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.zip
nixos: fix bad mkEnableOption descriptions
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r--nixos/modules/services/matrix/mjolnir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/matrix/mjolnir.nix b/nixos/modules/services/matrix/mjolnir.nix
index 0824be663340..4e9a915c23c7 100644
--- a/nixos/modules/services/matrix/mjolnir.nix
+++ b/nixos/modules/services/matrix/mjolnir.nix
@@ -96,8 +96,8 @@ in
       type = types.submodule {
         options = {
           enable = mkEnableOption (lib.mdDoc ''
-            If true, accessToken is ignored and the username/password below will be
-            used instead. The access token of the bot will be stored in the dataPath.
+            ignoring the accessToken. If true, accessToken is ignored and the username/password below will be
+            used instead. The access token of the bot will be stored in the dataPath
           '');
 
           username = mkOption {