diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 67238dd0..f1156470 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -150,7 +150,10 @@ in }; implementation = mkOption { description = "Mapping of resources required by applications to available resources; the result can be deployed"; - type = environment.config.resource-mapping.function-type; + type = functionTo (submoduleWith { + class = "nixops4Deployment"; + modules = [ environment.config.resource-mapping.output-type ]; + }); }; resource-mapping = mkOption { description = "Function type for the mapping from resources to a (NixOps4) deployment";