Touch up the option docs to be proper markdown
This commit is contained in:
parent
3ac9c63a01
commit
d1cc2b2a7d
5 changed files with 12 additions and 12 deletions
|
@ -23,9 +23,9 @@
|
||||||
stored at an alternate location without altering the format of
|
stored at an alternate location without altering the format of
|
||||||
store paths.
|
store paths.
|
||||||
|
|
||||||
For example: instead of mounting the host's /nix/store as the
|
For example: instead of mounting the host's `/nix/store` as the
|
||||||
container's /nix/store, this will mount /mnt/foo/nix/store
|
container's `/nix/store`, this will mount `/mnt/foo/nix/store`
|
||||||
as the container's /nix/store.
|
as the container's `/nix/store`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ in
|
||||||
build.imagesToLoad = lib.mkOption {
|
build.imagesToLoad = lib.mkOption {
|
||||||
type = listOf unspecified;
|
type = listOf unspecified;
|
||||||
internal = true;
|
internal = true;
|
||||||
description = "List of dockerTools image derivations.";
|
description = "List of `dockerTools` image derivations.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -12,7 +12,7 @@ in
|
||||||
type = attrsOf unspecified;
|
type = attrsOf unspecified;
|
||||||
description = ''
|
description = ''
|
||||||
Information about a service to include in the Docker Compose file,
|
Information about a service to include in the Docker Compose file,
|
||||||
but that will not be used by the `docker-compose`> command
|
but that will not be used by the `docker-compose` command
|
||||||
itself.
|
itself.
|
||||||
|
|
||||||
It will be inserted in `x-arion.serviceInfo.<service.name>`.
|
It will be inserted in `x-arion.serviceInfo.<service.name>`.
|
||||||
|
|
|
@ -20,7 +20,7 @@ in
|
||||||
service.hostStoreAsReadOnly = mkOption {
|
service.hostStoreAsReadOnly = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
description = "Adds a ':ro' (read-only) access mode to the host nix store bind mount.";
|
description = "Adds a `:ro` (read-only) access mode to the host nix store bind mount.";
|
||||||
};
|
};
|
||||||
service.useHostNixDaemon = mkOption {
|
service.useHostNixDaemon = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
|
|
|
@ -76,18 +76,18 @@ in
|
||||||
build.image = mkOption {
|
build.image = mkOption {
|
||||||
type = nullOr package;
|
type = nullOr package;
|
||||||
description = ''
|
description = ''
|
||||||
Docker image derivation to be `docker load`ed.
|
Docker image derivation to be `docker load`-ed.
|
||||||
'';
|
'';
|
||||||
internal = true;
|
internal = true;
|
||||||
};
|
};
|
||||||
build.imageName = mkOption {
|
build.imageName = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "Derived from build.image";
|
description = "Derived from `build.image`";
|
||||||
internal = true;
|
internal = true;
|
||||||
};
|
};
|
||||||
build.imageTag = mkOption {
|
build.imageTag = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "Derived from build.image";
|
description = "Derived from `build.image`";
|
||||||
internal = true;
|
internal = true;
|
||||||
};
|
};
|
||||||
image.nixBuild = mkOption {
|
image.nixBuild = mkOption {
|
||||||
|
@ -126,7 +126,7 @@ in
|
||||||
internal = true;
|
internal = true;
|
||||||
description = ''
|
description = ''
|
||||||
Include all referenced store paths. You generally want this in your
|
Include all referenced store paths. You generally want this in your
|
||||||
image, unless you load store paths via some other means, like useHostStore = true;
|
image, unless you load store paths via some other means, like `useHostStore = true`;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
image.rawConfig = mkOption {
|
image.rawConfig = mkOption {
|
||||||
|
@ -140,8 +140,8 @@ in
|
||||||
Please use the specific `image` options instead.
|
Please use the specific `image` options instead.
|
||||||
|
|
||||||
Run-time configuration of the container. A full list of the
|
Run-time configuration of the container. A full list of the
|
||||||
options is available in the https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions[Docker Image Specification
|
options is available in the [Docker Image Specification
|
||||||
v1.2.0].
|
v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
image.command = mkOption {
|
image.command = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue