diff --git a/deployment/data-model.nix b/deployment/data-model.nix index 09a6ea1b..83c540d7 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -149,7 +149,7 @@ in }; implementation = mkOption { description = "Mapping of resources required by applications to available resources; the result can be deployed"; - type = functionTo environment.config.resource-mapping.output-type; + type = functionTo raw; }; resource-mapping = mkOption { description = "Function type for the mapping from resources to a (NixOps4) deployment"; @@ -165,7 +165,7 @@ in }; deployment = mkOption { description = "Generate a deployment from a configuration"; - type = functionTo (submodule environment.config.resource-mapping.output-type); + type = functionTo raw; readOnly = true; default = cfg: