diff --git a/src/nix/modules/composition/docker-compose.nix b/src/nix/modules/composition/docker-compose.nix index 799c061..6555e6b 100644 --- a/src/nix/modules/composition/docker-compose.nix +++ b/src/nix/modules/composition/docker-compose.nix @@ -64,7 +64,7 @@ in description = "An attribute set of service configurations. A service specifies how to run an image as a container."; }; docker-compose.volumes = lib.mkOption { - type = lib.types.anything; + type = lib.types.attrsOf (lib.types.submodule service.volumes); description = "A attribute set of volume configurations."; default = {}; };