mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +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:
parent
1dd996e59a
commit
6afb255d97
1701 changed files with 13694 additions and 13865 deletions
|
@ -20,8 +20,7 @@ in
|
|||
mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
This option enables docker, a daemon that manages
|
||||
linux containers. Users in the "docker" group can interact with
|
||||
the daemon (e.g. to start or stop containers) using the
|
||||
|
@ -33,8 +32,7 @@ in
|
|||
mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = ["/run/docker.sock"];
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
A list of unix and tcp docker should listen to. The format follows
|
||||
ListenStream as described in systemd.socket(5).
|
||||
'';
|
||||
|
@ -44,8 +42,7 @@ in
|
|||
mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
When enabled dockerd is started on boot. This is required for
|
||||
containers which are created with the
|
||||
`--restart=always` flag to work. If this option is
|
||||
|
@ -61,7 +58,7 @@ in
|
|||
ipv6 = true;
|
||||
"fixed-cidr-v6" = "fd00::/80";
|
||||
};
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Configuration for docker daemon. The attributes are serialized to JSON used as daemon.conf.
|
||||
See https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
|
||||
'';
|
||||
|
@ -71,7 +68,7 @@ in
|
|||
mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
**Deprecated**, please use virtualisation.containers.cdi.dynamic.nvidia.enable instead.
|
||||
|
||||
Enable nvidia-docker wrapper, supporting NVIDIA GPUs inside docker containers.
|
||||
|
@ -82,8 +79,7 @@ in
|
|||
mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
Allow dockerd to be restarted without affecting running container.
|
||||
This option is incompatible with docker swarm.
|
||||
'';
|
||||
|
@ -93,8 +89,7 @@ in
|
|||
mkOption {
|
||||
type = types.nullOr (types.enum ["aufs" "btrfs" "devicemapper" "overlay" "overlay2" "zfs"]);
|
||||
default = null;
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
This option determines which Docker
|
||||
[storage driver](https://docs.docker.com/storage/storagedriver/select-storage-driver/)
|
||||
to use.
|
||||
|
@ -114,8 +109,7 @@ in
|
|||
mkOption {
|
||||
type = types.enum ["none" "json-file" "syslog" "journald" "gelf" "fluentd" "awslogs" "splunk" "etwlogs" "gcplogs" "local"];
|
||||
default = "journald";
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
This option determines which Docker log driver to use.
|
||||
'';
|
||||
};
|
||||
|
@ -124,8 +118,7 @@ in
|
|||
mkOption {
|
||||
type = types.separatedString " ";
|
||||
default = "";
|
||||
description =
|
||||
lib.mdDoc ''
|
||||
description = ''
|
||||
The extra command-line options to pass to
|
||||
{command}`docker` daemon.
|
||||
'';
|
||||
|
@ -135,7 +128,7 @@ in
|
|||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Whether to periodically prune Docker resources. If enabled, a
|
||||
systemd timer will run `docker system prune -f`
|
||||
as specified by the `dates` option.
|
||||
|
@ -146,7 +139,7 @@ in
|
|||
type = types.listOf types.str;
|
||||
default = [];
|
||||
example = [ "--all" ];
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Any additional flags passed to {command}`docker system prune`.
|
||||
'';
|
||||
};
|
||||
|
@ -154,7 +147,7 @@ in
|
|||
dates = mkOption {
|
||||
default = "weekly";
|
||||
type = types.str;
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Specification (in the format described by
|
||||
{manpage}`systemd.time(7)`) of the time at
|
||||
which the prune will occur.
|
||||
|
@ -168,7 +161,7 @@ in
|
|||
type = types.listOf types.package;
|
||||
default = [ ];
|
||||
example = literalExpression "with pkgs; [ criu ]";
|
||||
description = lib.mdDoc ''
|
||||
description = ''
|
||||
Extra packages to add to PATH for the docker daemon process.
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue