Try with lib.types.unspecified

This commit is contained in:
Qaif Shaikh 2023-03-02 13:41:53 -06:00
parent cb13795408
commit 5ba2990f72
2 changed files with 2 additions and 1 deletions

View file

@ -33,6 +33,7 @@
}
},
"version": "3.4",
"volumes": {},
"x-arion": {
"images": [
{

View file

@ -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.attrsOf (lib.types.submodule service.volumes);
type = lib.types.attrsOf lib.types.unspecified;
description = "A attribute set of volume configurations.";
default = {};
};