diff options
author | stuebinm <stuebinm@disroot.org> | 2024-04-13 14:54:15 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2024-04-13 10:07:35 -0700 |
commit | 6afb255d976f85f3359e4929abd6f5149c323a02 (patch) | |
tree | ced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/misc/zookeeper.nix | |
parent | 1dd996e59a5e67694b7a252aacba71a88d51b41e (diff) |
nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
Diffstat (limited to 'nixos/modules/services/misc/zookeeper.nix')
-rw-r--r-- | nixos/modules/services/misc/zookeeper.nix | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/nixos/modules/services/misc/zookeeper.nix b/nixos/modules/services/misc/zookeeper.nix index b1c0b80648c68..3861a3cd2f4db 100644 --- a/nixos/modules/services/misc/zookeeper.nix +++ b/nixos/modules/services/misc/zookeeper.nix @@ -24,22 +24,22 @@ let in { options.services.zookeeper = { - enable = mkEnableOption (lib.mdDoc "Zookeeper"); + enable = mkEnableOption "Zookeeper"; port = mkOption { - description = lib.mdDoc "Zookeeper Client port."; + description = "Zookeeper Client port."; default = 2181; type = types.port; }; id = mkOption { - description = lib.mdDoc "Zookeeper ID."; + description = "Zookeeper ID."; default = 0; type = types.int; }; purgeInterval = mkOption { - description = lib.mdDoc '' + description = '' The time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and above) to enable the auto purging. ''; default = 1; @@ -47,7 +47,7 @@ in { }; extraConf = mkOption { - description = lib.mdDoc "Extra configuration for Zookeeper."; + description = "Extra configuration for Zookeeper."; type = types.lines; default = '' initLimit=5 @@ -57,7 +57,7 @@ in { }; servers = mkOption { - description = lib.mdDoc "All Zookeeper Servers."; + description = "All Zookeeper Servers."; default = ""; type = types.lines; example = '' @@ -68,7 +68,7 @@ in { }; logging = mkOption { - description = lib.mdDoc "Zookeeper logging configuration."; + description = "Zookeeper logging configuration."; default = '' zookeeper.root.logger=INFO, CONSOLE log4j.rootLogger=INFO, CONSOLE @@ -83,13 +83,13 @@ in { dataDir = mkOption { type = types.path; default = "/var/lib/zookeeper"; - description = lib.mdDoc '' + description = '' Data directory for Zookeeper ''; }; extraCmdLineOptions = mkOption { - description = lib.mdDoc "Extra command line options for the Zookeeper launcher."; + description = "Extra command line options for the Zookeeper launcher."; default = [ "-Dcom.sun.management.jmxremote" "-Dcom.sun.management.jmxremote.local.only=true" ]; type = types.listOf types.str; example = [ "-Djava.net.preferIPv4Stack=true" "-Dcom.sun.management.jmxremote" "-Dcom.sun.management.jmxremote.local.only=true" ]; @@ -98,7 +98,7 @@ in { preferIPv4 = mkOption { type = types.bool; default = true; - description = lib.mdDoc '' + description = '' Add the -Djava.net.preferIPv4Stack=true flag to the Zookeeper server. ''; }; @@ -106,7 +106,7 @@ in { package = mkPackageOption pkgs "zookeeper" { }; jre = mkOption { - description = lib.mdDoc "The JRE with which to run Zookeeper"; + description = "The JRE with which to run Zookeeper"; default = cfg.package.jre; defaultText = literalExpression "pkgs.zookeeper.jre"; example = literalExpression "pkgs.jre"; |