Unverified Commit 7b9ef31a authored by Lin Jian's avatar Lin Jian Committed by GitHub
Browse files

Merge pull request #331800 from Guanran928/treewide/remove-periods-from-lib-mkenableoption

treewide: remove periods from lib.mkEnableOption
parents 53ffb408 ea6f4d5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
@@ -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.";
+1 −1
Original line number Diff line number Diff line
@@ -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 = ''
+2 −2
Original line number Diff line number Diff line
@@ -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;
      };

+1 −1
Original line number Diff line number Diff line
@@ -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" { };