summary refs log tree commit diff
path: root/nixos/modules/services/mail
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/mail
parentccf848f9dd1ac4fb7f9c9ef595aaca9f6cedd60c (diff)
downloadnixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar
nixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.gz
nixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.bz2
nixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.lz
nixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.xz
nixpkgs-142074c2a84ea2f018ed729e9ff6ee97c4f022b8.tar.zst
nixpkgs-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/mail')
-rw-r--r--nixos/modules/services/mail/dovecot.nix2
-rw-r--r--nixos/modules/services/mail/mailman.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index 21bafd859c3..abbb2f32e6c 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -302,7 +302,7 @@ in
 
     enablePAM = mkEnableOption (lib.mdDoc "creating a own Dovecot PAM service and configure PAM user logins") // { default = true; };
 
-    enableDHE = mkEnableOption (lib.mdDoc "enable ssl_dh and generation of primes for the key exchange") // { default = true; };
+    enableDHE = mkEnableOption (lib.mdDoc "ssl_dh and generation of primes for the key exchange") // { default = true; };
 
     sieveScripts = mkOption {
       type = types.attrsOf types.path;
diff --git a/nixos/modules/services/mail/mailman.nix b/nixos/modules/services/mail/mailman.nix
index 9f43d5829f0..9cc1ade3f41 100644
--- a/nixos/modules/services/mail/mailman.nix
+++ b/nixos/modules/services/mail/mailman.nix
@@ -260,7 +260,7 @@ in {
       };
 
       serve = {
-        enable = mkEnableOption (lib.mdDoc "Automatic nginx and uwsgi setup for mailman-web");
+        enable = mkEnableOption (lib.mdDoc "automatic nginx and uwsgi setup for mailman-web");
 
         virtualRoot = mkOption {
           default = "/";