summary refs log tree commit diff
path: root/nixos/modules/services/mail/rspamd.nix
diff options
context:
space:
mode:
authorPavel Goran <me@pvgoran.name>2018-10-05 13:14:45 +0700
committerPavel Goran <me@pvgoran.name>2018-10-05 13:14:45 +0700
commit858b263bf0f9844d6924c0af4ffc690af2fb4496 (patch)
treeb318093f208eb2c3cfdf23ad24358588716b670e /nixos/modules/services/mail/rspamd.nix
parent89beaef64dae87eb31f3537d3b0921d7585c7ab6 (diff)
downloadnixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar.gz
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar.bz2
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar.lz
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar.xz
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.tar.zst
nixpkgs-858b263bf0f9844d6924c0af4ffc690af2fb4496.zip
nixos: correct improper uses of mkEnableOption, clarify service descriptions
Several service definitions used `mkEnableOption` with text starting
with "Whether to", which produced funny option descriptions like
"Whether to enable Whether to run the rspamd daemon..".

This commit corrects this, and adds short descriptions of services
to affected service definitions.
Diffstat (limited to 'nixos/modules/services/mail/rspamd.nix')
-rw-r--r--nixos/modules/services/mail/rspamd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/rspamd.nix b/nixos/modules/services/mail/rspamd.nix
index bba11796a3d..ff01a5dee53 100644
--- a/nixos/modules/services/mail/rspamd.nix
+++ b/nixos/modules/services/mail/rspamd.nix
@@ -159,7 +159,7 @@ in
 
     services.rspamd = {
 
-      enable = mkEnableOption "Whether to run the rspamd daemon.";
+      enable = mkEnableOption "rspamd, the Rapid spam filtering system";
 
       debug = mkOption {
         type = types.bool;