Move build.service option to top

This commit is contained in:
Robert Hensing 2019-03-04 00:13:57 +01:00
parent dc762a79bf
commit cf562d6234

View file

@ -20,6 +20,19 @@ let
in
{
options = {
build.service = mkOption {
type = attrsOf types.unspecified;
description = ''
Raw input for the service in <code>docker-compose.yaml</code>.
You should not need to use this option. If anything is
missing, please contribute the missing option.
This option is user accessible because it may serve as an
escape hatch for some.
'';
};
service.volumes = mkOption {
type = listOf types.unspecified;
default = [];
@ -107,19 +120,6 @@ in
default = [];
description = dockerComposeRef "expose";
};
build.service = mkOption {
type = attrsOf types.unspecified;
description = ''
Raw input for the service in <code>docker-compose.yaml</code>.
You should not need to use this option. If anything is
missing, please contribute the missing option.
This option is user accessible because it may serve as an
escape hatch for some.
'';
};
};
config.build.service = {