diff --git a/deployment/data-model.nix b/deployment/data-model.nix index a7576141..9fbca7ca 100644 --- a/deployment/data-model.nix +++ b/deployment/data-model.nix @@ -145,7 +145,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"; @@ -161,7 +161,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: