Use service submodule for volumes type
This commit is contained in:
parent
de9930171a
commit
cb13795408
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ in
|
||||||
description = "An attribute set of service configurations. A service specifies how to run an image as a container.";
|
description = "An attribute set of service configurations. A service specifies how to run an image as a container.";
|
||||||
};
|
};
|
||||||
docker-compose.volumes = lib.mkOption {
|
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.";
|
description = "A attribute set of volume configurations.";
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue