mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
treewide: remove periods from lib.mkEnableOption
Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>
This commit is contained in:
parent
9e8286163c
commit
ea6f4d5e86
5 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||||
|
|
|
@ -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.";
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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" { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue