treewide: remove periods from lib.mkEnableOption

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
This commit is contained in:
Guanran Wang 2024-08-02 23:19:41 +08:00
parent 9e8286163c
commit ea6f4d5e86
No known key found for this signature in database
GPG key ID: 91F97D9ED12639CF
5 changed files with 7 additions and 7 deletions

View file

@ -328,7 +328,7 @@ in
createMailUser = mkEnableOption ''automatically creating the user createMailUser = mkEnableOption ''automatically creating the user
given in {option}`services.dovecot.user` and the group 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 { modules = mkOption {
type = types.listOf types.package; type = types.listOf types.package;

View file

@ -18,9 +18,9 @@ in
meta.maintainers = with lib.maintainers; [ gador ]; meta.maintainers = with lib.maintainers; [ gador ];
options.services.blendfarm = with lib.types; { 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" { }; 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 { user = lib.mkOption {
description = "User under which blendfarm runs."; description = "User under which blendfarm runs.";

View file

@ -88,7 +88,7 @@ in
options = { options = {
services.nagios = { 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 { objectDefs = mkOption {
description = '' description = ''

View file

@ -23,14 +23,14 @@ let
}; };
commonOptions = { commonOptions = {
enable = lib.mkEnableOption "this `wstunnel` instance." // { enable = lib.mkEnableOption "this `wstunnel` instance" // {
default = true; default = true;
}; };
package = lib.mkPackageOption pkgs "wstunnel" { }; package = lib.mkPackageOption pkgs "wstunnel" { };
autoStart = autoStart =
lib.mkEnableOption "starting this wstunnel instance automatically." // { lib.mkEnableOption "starting this wstunnel instance automatically" // {
default = true; default = true;
}; };

View file

@ -19,7 +19,7 @@ in
meta.maintainers = with maintainers; [ etu stunkymonkey mattchrist ]; meta.maintainers = with maintainers; [ etu stunkymonkey mattchrist ];
options.services.freshrss = { 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" { }; package = mkPackageOption pkgs "freshrss" { };