From cf562d6234f14fcda0bdb8e953ed21e9ca9c8d54 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 4 Mar 2019 00:13:57 +0100 Subject: [PATCH] Move build.service option to top --- .../service/docker-compose-service.nix | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/nix/modules/service/docker-compose-service.nix b/src/nix/modules/service/docker-compose-service.nix index 4164e38..afdd69e 100644 --- a/src/nix/modules/service/docker-compose-service.nix +++ b/src/nix/modules/service/docker-compose-service.nix @@ -20,6 +20,19 @@ let in { options = { + build.service = mkOption { + type = attrsOf types.unspecified; + description = '' + Raw input for the service in docker-compose.yaml. + + 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 docker-compose.yaml. - - 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 = {