0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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.
This commit is contained in:
stuebinm 2024-04-13 14:54:15 +02:00 committed by Jonathan Ringer
parent 1dd996e59a
commit 6afb255d97
1701 changed files with 13694 additions and 13865 deletions

View file

@ -8,12 +8,12 @@ let
in {
options = {
services.gocd-agent = {
enable = mkEnableOption (lib.mdDoc "gocd-agent");
enable = mkEnableOption "gocd-agent";
user = mkOption {
default = "gocd-agent";
type = types.str;
description = lib.mdDoc ''
description = ''
User the Go.CD agent should execute under.
'';
};
@ -21,7 +21,7 @@ in {
group = mkOption {
default = "gocd-agent";
type = types.str;
description = lib.mdDoc ''
description = ''
If the default user "gocd-agent" is configured then this is the primary
group of that user.
'';
@ -31,7 +31,7 @@ in {
type = types.listOf types.str;
default = [ ];
example = [ "wheel" "docker" ];
description = lib.mdDoc ''
description = ''
List of extra groups that the "gocd-agent" user should be a part of.
'';
};
@ -40,7 +40,7 @@ in {
default = [ pkgs.stdenv pkgs.jre pkgs.git config.programs.ssh.package pkgs.nix ];
defaultText = literalExpression "[ pkgs.stdenv pkgs.jre pkgs.git config.programs.ssh.package pkgs.nix ]";
type = types.listOf types.package;
description = lib.mdDoc ''
description = ''
Packages to add to PATH for the Go.CD agent process.
'';
};
@ -53,7 +53,7 @@ in {
agent.auto.register.environments=QA,Performance
agent.auto.register.hostname=Agent01
'';
description = lib.mdDoc ''
description = ''
Agent registration configuration.
'';
};
@ -61,7 +61,7 @@ in {
goServer = mkOption {
default = "https://127.0.0.1:8154/go";
type = types.str;
description = lib.mdDoc ''
description = ''
URL of the GoCD Server to attach the Go.CD Agent to.
'';
};
@ -69,7 +69,7 @@ in {
workDir = mkOption {
default = "/var/lib/go-agent";
type = types.str;
description = lib.mdDoc ''
description = ''
Specifies the working directory in which the Go.CD agent java archive resides.
'';
};
@ -77,7 +77,7 @@ in {
initialJavaHeapSize = mkOption {
default = "128m";
type = types.str;
description = lib.mdDoc ''
description = ''
Specifies the initial java heap memory size for the Go.CD agent java process.
'';
};
@ -85,7 +85,7 @@ in {
maxJavaHeapMemory = mkOption {
default = "256m";
type = types.str;
description = lib.mdDoc ''
description = ''
Specifies the java maximum heap memory size for the Go.CD agent java process.
'';
};
@ -108,7 +108,7 @@ in {
"-Djava.security.egd=file:/dev/./urandom"
]
'';
description = lib.mdDoc ''
description = ''
Specifies startup command line arguments to pass to Go.CD agent
java process.
'';
@ -127,7 +127,7 @@ in {
"-XX:+PrintGCDetails"
"-XX:+PrintGC"
];
description = lib.mdDoc ''
description = ''
Specifies additional command line arguments to pass to Go.CD agent
java process. Example contains debug and gcLog arguments.
'';
@ -136,7 +136,7 @@ in {
environment = mkOption {
default = { };
type = with types; attrsOf str;
description = lib.mdDoc ''
description = ''
Additional environment variables to be passed to the Go.CD agent process.
As a base environment, Go.CD agent receives NIX_PATH from
{option}`environment.sessionVariables`, NIX_REMOTE is set to