From cdd2deb1e7bceece42734977c83908d7d09c6b3e Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 2 Aug 2024 23:19:41 +0800 Subject: [PATCH] treewide: remove periods from lib.mkEnableOption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com> --- nixos/modules/services/mail/dovecot.nix | 2 +- nixos/modules/services/misc/blenderfarm.nix | 4 ++-- nixos/modules/services/monitoring/nagios.nix | 2 +- nixos/modules/services/networking/wstunnel.nix | 4 ++-- nixos/modules/services/web-apps/freshrss.nix | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index b2a6b3ab6784..1d17dd66e071 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -328,7 +328,7 @@ in createMailUser = mkEnableOption ''automatically creating the user given in {option}`services.dovecot.user` and the group - given in {option}`services.dovecot.group`.'' // { default = true; }; + given in {option}`services.dovecot.group`'' // { default = true; }; modules = mkOption { type = types.listOf types.package; diff --git a/nixos/modules/services/misc/blenderfarm.nix b/nixos/modules/services/misc/blenderfarm.nix index c13e43c7ecda..0d8ecf7af8e2 100644 --- a/nixos/modules/services/misc/blenderfarm.nix +++ b/nixos/modules/services/misc/blenderfarm.nix @@ -18,9 +18,9 @@ in meta.maintainers = with lib.maintainers; [ gador ]; options.services.blendfarm = with lib.types; { - enable = lib.mkEnableOption "Blendfarm, a render farm management software for Blender."; + enable = lib.mkEnableOption "Blendfarm, a render farm management software for Blender"; package = lib.mkPackageOption pkgs "blendfarm" { }; - openFirewall = lib.mkEnableOption "Allow blendfarm network access through the firewall."; + openFirewall = lib.mkEnableOption "allowing blendfarm network access through the firewall"; user = lib.mkOption { description = "User under which blendfarm runs."; diff --git a/nixos/modules/services/monitoring/nagios.nix b/nixos/modules/services/monitoring/nagios.nix index b6eced134bcc..e475d41270b1 100644 --- a/nixos/modules/services/monitoring/nagios.nix +++ b/nixos/modules/services/monitoring/nagios.nix @@ -88,7 +88,7 @@ in options = { services.nagios = { - enable = mkEnableOption ''[Nagios](https://www.nagios.org/) to monitor your system or network.''; + enable = mkEnableOption ''[Nagios](https://www.nagios.org/) to monitor your system or network''; objectDefs = mkOption { description = '' diff --git a/nixos/modules/services/networking/wstunnel.nix b/nixos/modules/services/networking/wstunnel.nix index bd7536351955..439e1f8ea9b5 100644 --- a/nixos/modules/services/networking/wstunnel.nix +++ b/nixos/modules/services/networking/wstunnel.nix @@ -23,14 +23,14 @@ let }; commonOptions = { - enable = lib.mkEnableOption "this `wstunnel` instance." // { + enable = lib.mkEnableOption "this `wstunnel` instance" // { default = true; }; package = lib.mkPackageOption pkgs "wstunnel" { }; autoStart = - lib.mkEnableOption "starting this wstunnel instance automatically." // { + lib.mkEnableOption "starting this wstunnel instance automatically" // { default = true; }; diff --git a/nixos/modules/services/web-apps/freshrss.nix b/nixos/modules/services/web-apps/freshrss.nix index 20b1e5605596..53366e2c891e 100644 --- a/nixos/modules/services/web-apps/freshrss.nix +++ b/nixos/modules/services/web-apps/freshrss.nix @@ -19,7 +19,7 @@ in meta.maintainers = with maintainers; [ etu stunkymonkey mattchrist ]; options.services.freshrss = { - enable = mkEnableOption "FreshRSS RSS aggregator and reader with php-fpm backend."; + enable = mkEnableOption "FreshRSS RSS aggregator and reader with php-fpm backend"; package = mkPackageOption pkgs "freshrss" { };